Added 'destroy_children' parameter to game_world_destroy_entity().
This commit is contained in:
@@ -82,7 +82,7 @@ void simulation_world_tick(Simulation_World *simulation_world) {
|
||||
assert(player->active);
|
||||
player->active = false;
|
||||
|
||||
game_world_destroy_entity(simulation_world->game_world, player->entity_id);
|
||||
game_world_destroy_entity(simulation_world->game_world, player->entity_id, true);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user