Revert "isrobot() fix"

This reverts commit 61c0eaa4a3.
This commit is contained in:
Atlantis
2015-05-20 12:18:23 +02:00
parent 61c0eaa4a3
commit 5592534ecc
2 changed files with 3 additions and 6 deletions

View File

@@ -1,9 +1,6 @@
// BEGIN_INTERNALS // BEGIN_INTERNALS
/* /*
DIR: code code\__HELPERS code\game code\game\machinery code\game\machinery\computer code\modules code\modules\mob code\modules\mob\living code\modules\mob\living\silicon code\modules\mob\living\silicon\robot icons icons\mob
AUTO_FILE_DIR: OFF
MAP_ICON_TYPE: 0 MAP_ICON_TYPE: 0
WINDOW: code\game\machinery\computer\robot.dm;code\modules\mob\living\silicon\silicon.dm;code\modules\mob\mob_helpers.dm AUTO_FILE_DIR: OFF
FILE: code\game\machinery\computer\robot.dm
*/ */
// END_INTERNALS // END_INTERNALS

View File

@@ -47,7 +47,7 @@
user << "Access Denied. This robot is not linked to you." user << "Access Denied. This robot is not linked to you."
return return
// Cyborgs may blow up themselves via the console // Cyborgs may blow up themselves via the console
if(isrobot(user) && user != target) if(user.isRobot() && user != target)
user << "Access Denied." user << "Access Denied."
return return
var/choice = input("Really detonate [target.name]?") in list ("Yes", "No") 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." user << "Access Denied. This robot is not linked to you."
return return
if(isrobot(user)) if(user.isRobot())
user << "Access Denied." user << "Access Denied."
return return