mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-25 09:31:13 +00:00
fixes for potential runtimes.
This commit is contained in:
@@ -41,6 +41,9 @@
|
||||
return 0
|
||||
|
||||
interact()
|
||||
if(!computer.cardslot)
|
||||
computer.Crash(MISSING_PERIPHERAL)
|
||||
return
|
||||
usr.set_machine(src)
|
||||
scan = computer.cardslot.reader
|
||||
if(!interactable())
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "frame-sec"
|
||||
|
||||
/datum/file/program/prisoner
|
||||
name = "Prisoner Management Comsole"
|
||||
name = "Prisoner Management Console"
|
||||
active_state = "explosive"
|
||||
req_access = list(access_armory)
|
||||
|
||||
|
||||
@@ -44,10 +44,14 @@
|
||||
return 0
|
||||
|
||||
interact()
|
||||
if(!computer.cardslot)
|
||||
computer.Crash(MISSING_PERIPHERAL)
|
||||
return
|
||||
usr.set_machine(src)
|
||||
scan = computer.cardslot.reader
|
||||
if(!interactable())
|
||||
return
|
||||
return
|
||||
if (computer.z > 6)
|
||||
usr << "\red <b>Unable to establish a connection</b>: \black You're too far away from the station!"
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user