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

player does not get infinite energy while controlling a summon

git-svn-id: http://svn.net-core.org/repos/t-engine4@779 51575b47-30f0-44d4-a5cc-537603b46e54
parent cec7fa6a
No related branches found
No related tags found
No related merge requests found
......@@ -153,6 +153,8 @@ function _M:act()
-- Resting ? Running ? Otherwise pause
if not self:restStep() and not self:runStep() and self.player then
game.paused = true
elseif not self.player then
self:useEnergy()
end
end
......
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