This is easy enough to fix:
Code: Select all
Index: game/modules/tome/class/Player.lua
===================================================================
--- game/modules/tome/class/Player.lua	(revision 4640)
+++ game/modules/tome/class/Player.lua	(working copy)
@@ -247,7 +247,7 @@
 	end
 
 	-- Resting ? Running ? Otherwise pause
-	if not self:restStep() and not self:runStep() and self.player then
+	if not self:restStep() and not self:runStep() and self.player and self:enoughEnergy() then
 		game.paused = true
 	elseif not self.player then
 		self:useEnergy()