Ajout d'un mode infini
This commit is contained in:
@@ -271,8 +271,8 @@ func plant(
|
||||
add_entity(new_plant, plant_position)
|
||||
|
||||
for m in new_plant_data.mutations:
|
||||
if not m.get_mutation_id() in GameInfo.game_data.progression_data.planted_mutation_ids:
|
||||
GameInfo.game_data.progression_data.planted_mutation_ids.append(m.get_mutation_id())
|
||||
if not m.get_mutation_id() in GameInfo.game_data.progression_data.get_mutations_discovered():
|
||||
GameInfo.game_data.progression_data.discover_mutation(m)
|
||||
|
||||
return true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user