Skip to content
Snippets Groups Projects
Commit 5525a942 authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@3097 51575b47-30f0-44d4-a5cc-537603b46e54
parent 1cefcee7
No related branches found
No related tags found
No related merge requests found
......@@ -301,7 +301,7 @@ function _M:act()
end
-- We compute turns at "default" speed, and only fire some actions when chaning turn
local actturn = math.floor(game.turn / 10)
local actturn = math.floor(game.turn / (game.zone.wilderness and 10000 or 10))
if not self.last_act_turn then self.last_act_turn = actturn - 1 end
for i = 1, actturn - self.last_act_turn do self:actTurn() end
self.last_act_turn = actturn
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment