Stupid mistake fixed

develop
Warmist 2012-03-22 23:27:25 +02:00
parent 8f72a642b2
commit f25d15ce9c
1 changed files with 3 additions and 0 deletions

@ -264,8 +264,11 @@ function tools.empregnate(unit)
if unit==nil then
unit=getSelectedUnit()
end
if unit==nil then
unit=getCreatureAtPos(getxyz())
end
if unit==nil then
error("Failed to empregnate. Unit not selected/valide")
end