Skip to content

Commit

Permalink
bug: level hang when dead things fall into the void
Browse files Browse the repository at this point in the history
  • Loading branch information
goblinhack committed Jul 10, 2023
1 parent 88b27b5 commit a66ebd7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/thing_the_void.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@

void Thing::fall_into_the_void(void)
{
dbg("Try to fall into the void");

level_pop();
is_falling = false;
is_changing_level = false;
is_hidden = true;
is_falling = false;
is_changing_level = false;
is_hidden = true;
is_waiting_to_leave_level_has_completed_fall = false;
update_interpolated_position();
level_push();

Expand Down

0 comments on commit a66ebd7

Please sign in to comment.