mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Removed one line ifs and elses. (#11389)
This commit is contained in:
@@ -23,7 +23,8 @@
|
||||
machine_flags = EMAGGABLE
|
||||
|
||||
/obj/machinery/computer/library/checkout/attack_hand(var/mob/user as mob)
|
||||
if(..()) return
|
||||
if(..())
|
||||
return
|
||||
interact(user)
|
||||
|
||||
/obj/machinery/computer/library/checkout/interact(var/mob/user)
|
||||
@@ -414,7 +415,8 @@
|
||||
bibledelay = 0
|
||||
make_external_book(newbook)
|
||||
if(href_list["manual"])
|
||||
if(!href_list["manual"]) return
|
||||
if(!href_list["manual"])
|
||||
return
|
||||
var/bookid = href_list["manual"]
|
||||
|
||||
if(!dbcon_old.IsConnected())
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
name = "visitor computer"
|
||||
|
||||
/obj/machinery/computer/library/public/attack_hand(var/mob/user as mob)
|
||||
if(..()) return
|
||||
if(..())
|
||||
return
|
||||
interact(user)
|
||||
|
||||
/obj/machinery/computer/library/public/interact(var/mob/user)
|
||||
|
||||
Reference in New Issue
Block a user