mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 00:23:29 +01:00
Reduce lines by removing blank lines added by PJ's script
This commit is contained in:
@@ -135,7 +135,6 @@
|
||||
src.add_fingerprint(usr)
|
||||
if(!src.allowed(user))
|
||||
to_chat(user, "<span class='alert'>Access denied.</span>")
|
||||
|
||||
return
|
||||
usr.set_machine(src)
|
||||
interact(user)
|
||||
@@ -160,7 +159,6 @@
|
||||
return ..()
|
||||
if (on)
|
||||
to_chat(user, "<span class='alert'>You cannot unwrench this [src], turn it off first.</span>")
|
||||
|
||||
return 1
|
||||
return ..()
|
||||
|
||||
@@ -158,7 +158,6 @@ Thus, the two variables affect pump operation are set in New():
|
||||
src.add_fingerprint(usr)
|
||||
if(!src.allowed(user))
|
||||
to_chat(user, "<span class='alert'>Access denied.</span>")
|
||||
|
||||
return
|
||||
usr.set_machine(src)
|
||||
interact(user)
|
||||
@@ -190,6 +189,5 @@ Thus, the two variables affect pump operation are set in New():
|
||||
return ..()
|
||||
if (!(stat & NOPOWER) && on)
|
||||
to_chat(user, "<span class='alert'>You cannot unwrench this [src], turn it off first.</span>")
|
||||
|
||||
return 1
|
||||
return ..()
|
||||
@@ -75,7 +75,6 @@
|
||||
return
|
||||
if(!src.allowed(user))
|
||||
to_chat(user, "<span class='alert'>Access denied.</span>")
|
||||
|
||||
return
|
||||
..()
|
||||
|
||||
|
||||
@@ -148,7 +148,6 @@ Thus, the two variables affect pump operation are set in New():
|
||||
src.add_fingerprint(usr)
|
||||
if(!src.allowed(user))
|
||||
to_chat(user, "<span class='alert'>Access denied.</span>")
|
||||
|
||||
return
|
||||
usr.set_machine(src)
|
||||
interact(user)
|
||||
@@ -180,6 +179,5 @@ Thus, the two variables affect pump operation are set in New():
|
||||
return ..()
|
||||
if (!(stat & NOPOWER) && on)
|
||||
to_chat(user, "<span class='alert'>You cannot unwrench this [src], turn it off first.</span>")
|
||||
|
||||
return 1
|
||||
return ..()
|
||||
Reference in New Issue
Block a user