Stupid bug with nemesis...

develop
Warmist 2012-04-04 00:18:40 +03:00
parent 26f5e0dfb5
commit 6a6ca516c3
1 changed files with 5 additions and 1 deletions

@ -521,7 +521,11 @@ end
function getNemesis(unit)
local id=getNemesisId(unit)
if id then
return df.global.world.nemesis.all[id]
for k,v in pairs(df.global.world.nemesis.all) do
if id==v.id then
return v
end
end
end
end
function Allocate(size)