From 63d2ffcb48820ec38309f2f44d8d27798147d3d9 Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Tue, 6 Dec 2011 10:54:28 +0000
Subject: [PATCH] fixed resting for cooldowns

git-svn-id: http://svn.net-core.org/repos/t-engine4@4719 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/modules/tome/class/Player.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game/modules/tome/class/Player.lua b/game/modules/tome/class/Player.lua
index 05d453d980..911510c844 100644
--- a/game/modules/tome/class/Player.lua
+++ b/game/modules/tome/class/Player.lua
@@ -607,7 +607,7 @@ function _M:restCheck()
 	end
 
 	-- Enter cooldown waiting rest if we are at max already
-	if self.resting.cnt == 1 then
+	if self.resting.cnt == 0 then
 		self.resting.wait_cooldowns = true
 	end
 
-- 
GitLab