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

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@6174 51575b47-30f0-44d4-a5cc-537603b46e54
parent 321ea09d
No related branches found
No related tags found
No related merge requests found
......@@ -200,6 +200,10 @@ function _M:setPlayer(actor, bypass)
if actor == game.player then return true end
-- Stop!!
if game.player.runStop then game.player:runStop("Switching control") end
if game.player.restStop then game.player:restStop("Switching control") end
local def = self.members[actor]
local oldp = self.player
self.player = actor
......
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