fixes for potential runtimes.

This commit is contained in:
DJSnapshot
2014-06-23 06:17:48 -04:00
committed by ZomgPonies
parent 21a1f2eefe
commit e55208bc69
5 changed files with 15 additions and 8 deletions
@@ -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