isrobot() fix, attempt two

This commit is contained in:
Atlantis
2015-05-20 12:22:33 +02:00
parent 5592534ecc
commit b0334ac331
+2 -2
View File
@@ -47,7 +47,7 @@
user << "Access Denied. This robot is not linked to you."
return
// Cyborgs may blow up themselves via the console
if(user.isRobot() && user != target)
if(isrobot(user) && user != target)
user << "Access Denied."
return
var/choice = input("Really detonate [target.name]?") in list ("Yes", "No")
@@ -79,7 +79,7 @@
user << "Access Denied. This robot is not linked to you."
return
if(user.isRobot())
if(isrobot(user))
user << "Access Denied."
return