mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 19:52:40 +00:00
@@ -1,9 +1,6 @@
|
||||
// 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
|
||||
WINDOW: code\game\machinery\computer\robot.dm;code\modules\mob\living\silicon\silicon.dm;code\modules\mob\mob_helpers.dm
|
||||
FILE: code\game\machinery\computer\robot.dm
|
||||
AUTO_FILE_DIR: OFF
|
||||
*/
|
||||
// END_INTERNALS
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
user << "Access Denied. This robot is not linked to you."
|
||||
return
|
||||
// Cyborgs may blow up themselves via the console
|
||||
if(isrobot(user) && user != target)
|
||||
if(user.isRobot() && 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(isrobot(user))
|
||||
if(user.isRobot())
|
||||
user << "Access Denied."
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user