From 0c5fd27b2f20b484a86e6bff2d71cedd7e696cb0 Mon Sep 17 00:00:00 2001
From: DarkGod <darkgod@net-core.org>
Date: Wed, 18 Dec 2019 18:12:04 +0100
Subject: [PATCH] plop

---
 game/modules/tome/class/Game.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/game/modules/tome/class/Game.lua b/game/modules/tome/class/Game.lua
index 05dd4e60fa..322c999952 100644
--- a/game/modules/tome/class/Game.lua
+++ b/game/modules/tome/class/Game.lua
@@ -2013,9 +2013,9 @@ function _M:setupCommands()
 			print("===============")
 		end end,
 		[{"_g","ctrl"}] = function() if config.settings.cheat then
-			game.player:takeHit(100, game.player)
-do return end
 			self:changeLevel(game.level.level + 1)
+do return end
+			game.player:takeHit(100, game.player)
 do return end
 			local f, err = loadfile("/data/general/events/rat-lich.lua")
 			print(f, err)
-- 
GitLab