author | Periklis Ntanasis <pntanasis@gmail.com> |
Fri, 06 Dec 2013 09:30:07 +0200 | |
changeset 9754 | 12702ab1ba5f |
parent 9753 | 9579596cf471 |
child 9755 | 6306b54dd8fc |
share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/death01.lua | file | annotate | diff | comparison | revisions |
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/death01.lua Thu Dec 05 00:51:27 2013 +0400 +++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/death01.lua Fri Dec 06 09:30:07 2013 +0200 @@ -248,7 +248,7 @@ function onEnemiesDeath(gear) local allDead = true - if professor.dead then + if GetHealth(hero.gear) and professor.dead then for i=1,table.getn(thugs) do if GetHealth(thugs[i]) then allDead = false