mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +01:00
remove redundant checks
This commit is contained in:
@@ -705,7 +705,7 @@
|
||||
|
||||
if(href_list["criminal"])
|
||||
if(hasHUD(usr,"security"))
|
||||
if(usr.incapacitated() || isobserver(usr))
|
||||
if(usr.incapacitated())
|
||||
return
|
||||
var/found_record = 0
|
||||
var/perpname = "wot"
|
||||
@@ -753,7 +753,7 @@
|
||||
|
||||
if(href_list["secrecord"])
|
||||
if(hasHUD(usr,"security"))
|
||||
if(usr.incapacitated() || isobserver(usr))
|
||||
if(usr.incapacitated())
|
||||
return
|
||||
var/perpname = "wot"
|
||||
var/read = 0
|
||||
@@ -785,7 +785,7 @@
|
||||
|
||||
if(href_list["secrecordComment"])
|
||||
if(hasHUD(usr,"security"))
|
||||
if(usr.incapacitated() || isobserver(usr))
|
||||
if(usr.incapacitated())
|
||||
return
|
||||
var/perpname = "wot"
|
||||
var/read = 0
|
||||
@@ -816,7 +816,7 @@
|
||||
|
||||
if(href_list["secrecordadd"])
|
||||
if(hasHUD(usr,"security"))
|
||||
if(usr.incapacitated() || isobserver(usr))
|
||||
if(usr.incapacitated())
|
||||
return
|
||||
var/perpname = "wot"
|
||||
if(wear_id)
|
||||
@@ -847,7 +847,7 @@
|
||||
|
||||
if(href_list["medical"])
|
||||
if(hasHUD(usr,"medical"))
|
||||
if(usr.incapacitated() || isobserver(usr))
|
||||
if(usr.incapacitated())
|
||||
return
|
||||
var/perpname = "wot"
|
||||
var/modified = 0
|
||||
@@ -882,7 +882,7 @@
|
||||
|
||||
if(href_list["medrecord"])
|
||||
if(hasHUD(usr,"medical"))
|
||||
if(usr.incapacitated() || isobserver(usr))
|
||||
if(usr.incapacitated())
|
||||
return
|
||||
var/perpname = "wot"
|
||||
var/read = 0
|
||||
@@ -915,7 +915,7 @@
|
||||
|
||||
if(href_list["medrecordComment"])
|
||||
if(hasHUD(usr,"medical"))
|
||||
if(usr.incapacitated() || isobserver(usr))
|
||||
if(usr.incapacitated())
|
||||
return
|
||||
var/perpname = "wot"
|
||||
var/read = 0
|
||||
@@ -946,7 +946,7 @@
|
||||
|
||||
if(href_list["medrecordadd"])
|
||||
if(hasHUD(usr,"medical"))
|
||||
if(usr.incapacitated() || isobserver(usr))
|
||||
if(usr.incapacitated())
|
||||
return
|
||||
var/perpname = "wot"
|
||||
if(wear_id)
|
||||
|
||||
Reference in New Issue
Block a user