mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Reduce lines by removing blank lines added by PJ's script
This commit is contained in:
@@ -25,17 +25,14 @@
|
||||
if(istype(user,/mob/living/silicon))
|
||||
if(!program.ai_allowed)
|
||||
to_chat(user, "\blue You are forbidden from accessing this program.")
|
||||
|
||||
return 0
|
||||
else
|
||||
if(program.human_controls)
|
||||
if(!ishuman(user))
|
||||
to_chat(user, "\red Your body can't work the controls!")
|
||||
|
||||
return 0
|
||||
if(user.restrained())
|
||||
to_chat(user, "\red You need a free hand!")
|
||||
|
||||
return 0
|
||||
|
||||
if(!in_range(src,user))
|
||||
@@ -43,7 +40,6 @@
|
||||
if(ishuman(user) && istype(user.get_active_hand(),/obj/item/tk_grab))
|
||||
if(program.human_controls)
|
||||
to_chat(user, "\red It's too complicated to work at a distance!")
|
||||
|
||||
return 0
|
||||
add_fingerprint(user)
|
||||
user.set_machine(src)
|
||||
@@ -120,7 +116,6 @@
|
||||
if(PROG_CRASH)
|
||||
if(usr)
|
||||
to_chat(usr, "\red The program crashed!")
|
||||
|
||||
usr << browse(null,"\ref[src]")
|
||||
Reset()
|
||||
|
||||
@@ -154,7 +149,6 @@
|
||||
else
|
||||
if(usr)
|
||||
to_chat(usr, "\red The program crashed!")
|
||||
|
||||
usr << browse(null,"\ref[src]")
|
||||
testing("computer/Crash() - unknown error code [errorcode]")
|
||||
Reset()
|
||||
|
||||
Reference in New Issue
Block a user