Undid debug code.
This commit is contained in:
parent
a3aeb127af
commit
899801d43c
|
@ -519,7 +519,6 @@ class Level1(level.Level):
|
||||||
else lambda *v: None],
|
else lambda *v: None],
|
||||||
anim='lever_updown', toggling=False))
|
anim='lever_updown', toggling=False))
|
||||||
|
|
||||||
door.activate(1)
|
|
||||||
self._next_level_trigger = trigger.Trigger(
|
self._next_level_trigger = trigger.Trigger(
|
||||||
self,
|
self,
|
||||||
64 * door_x, 48 * 4,
|
64 * door_x, 48 * 4,
|
||||||
|
@ -581,7 +580,6 @@ class Level1(level.Level):
|
||||||
obj.reset_pos()
|
obj.reset_pos()
|
||||||
|
|
||||||
def goto_next_level(self):
|
def goto_next_level(self):
|
||||||
print(333)
|
|
||||||
self.objects.remove(self._next_level_trigger)
|
self.objects.remove(self._next_level_trigger)
|
||||||
self._old_player_update = self.player.update
|
self._old_player_update = self.player.update
|
||||||
self.player.update = lambda e, t, dt: self._old_player_update([], t, dt)
|
self.player.update = lambda e, t, dt: self._old_player_update([], t, dt)
|
||||||
|
|
Loading…
Reference in New Issue