Miscellaneous fixes (#1349)

fixes posibrain message
fixes a runtime error with devouring
small optimisation to radios
This commit is contained in:
NanakoAC
2016-12-30 13:43:38 +02:00
committed by skull132
parent 7d5450efd4
commit 85aa8cdaba
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -170,7 +170,7 @@
break
else
devouring = null
if (victimloc != victim.loc)
if (victim && victimloc != victim.loc)
src << "<span class='danger'>[victim] moved away, you need to keep it still. Try grabbing, stunning or killing it first.</span>"
else if (ourloc != src.loc)
src << "<span class='danger'>You moved! Devouring cancelled</span>"