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

Fool of a Took achievement correctly triggers

git-svn-id: http://svn.net-core.org/repos/t-engine4@3974 51575b47-30f0-44d4-a5cc-537603b46e54
parent 76c57926
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ function _M:onPartyDeath(src, death_note)
-- No more player found! Switch back to main and die
if game_ender then
world:gainAchievement("HALFLING_SUICIDE", self)
if self == src then world:gainAchievement("HALFLING_SUICIDE", self) end
game.party:setPlayer(game.party:findMember{main=true}, true)
game.paused = true
game.player.energy.value = game.energy_to_act
......
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