From f3c854a34d2fd0acae43461d0a6816f97c821043 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 20 Jan 2022 14:24:35 +0100 Subject: [PATCH] Don't check level victory on change state --- mods/lzr_levels/init.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mods/lzr_levels/init.lua b/mods/lzr_levels/init.lua index f18cf31..cbf4230 100644 --- a/mods/lzr_levels/init.lua +++ b/mods/lzr_levels/init.lua @@ -266,10 +266,6 @@ lzr_gamestate.register_on_enter_state(function(state) lzr_player.set_play_inventory(player) lzr_gui.set_play_gui(player) lzr_laser.full_laser_update(lzr_globals.PLAYFIELD_START, lzr_globals.PLAYFIELD_END) - local done = lzr_laser.check_level_won() - if done then - lzr_levels.level_complete() - end end end)