Removed one line ifs and elses. (#11389)

This commit is contained in:
ComicIronic
2016-08-15 11:36:21 +01:00
committed by clusterfack
parent b2b5c81633
commit d490e1f970
914 changed files with 11196 additions and 5646 deletions

View File

@@ -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())

View File

@@ -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)