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

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@3093 51575b47-30f0-44d4-a5cc-537603b46e54
parent 55b262eb
No related branches found
No related tags found
No related merge requests found
......@@ -67,6 +67,8 @@ start_game = function(self)
game.party:setPlayer(slave)
game.player:hotkeyAutoTalents()
game.party.members[p].control = "no"
p.slaver_old_ai = p.ai
p.ai = "none"
slave.on_die = function(self)
game.player:hasQuest("ring-of-blood"):stop_game(false)
......@@ -118,6 +120,7 @@ end
stop_game = function(self, win)
local p = game.party:findMember{main=true}
local slave = game.player
p.ai = p.slaver_old_ai
game.party.members[p].control = "full"
game.party:setPlayer(p)
game.party:removeMember(slave)
......
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