mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 21:19:00 +01:00
make sure they arent dead when trying to use hud stuff
This commit is contained in:
@@ -705,7 +705,8 @@
|
||||
|
||||
if(href_list["criminal"])
|
||||
if(hasHUD(usr,"security"))
|
||||
|
||||
if(usr.incapacitated() || isobserver(usr))
|
||||
return
|
||||
var/found_record = 0
|
||||
var/perpname = "wot"
|
||||
if(wear_id)
|
||||
@@ -752,6 +753,8 @@
|
||||
|
||||
if(href_list["secrecord"])
|
||||
if(hasHUD(usr,"security"))
|
||||
if(usr.incapacitated() || isobserver(usr))
|
||||
return
|
||||
var/perpname = "wot"
|
||||
var/read = 0
|
||||
|
||||
@@ -782,6 +785,8 @@
|
||||
|
||||
if(href_list["secrecordComment"])
|
||||
if(hasHUD(usr,"security"))
|
||||
if(usr.incapacitated() || isobserver(usr))
|
||||
return
|
||||
var/perpname = "wot"
|
||||
var/read = 0
|
||||
|
||||
@@ -811,6 +816,8 @@
|
||||
|
||||
if(href_list["secrecordadd"])
|
||||
if(hasHUD(usr,"security"))
|
||||
if(usr.incapacitated() || isobserver(usr))
|
||||
return
|
||||
var/perpname = "wot"
|
||||
if(wear_id)
|
||||
if(istype(wear_id,/obj/item/card/id))
|
||||
@@ -840,6 +847,8 @@
|
||||
|
||||
if(href_list["medical"])
|
||||
if(hasHUD(usr,"medical"))
|
||||
if(usr.incapacitated() || isobserver(usr))
|
||||
return
|
||||
var/perpname = "wot"
|
||||
var/modified = 0
|
||||
|
||||
@@ -873,6 +882,8 @@
|
||||
|
||||
if(href_list["medrecord"])
|
||||
if(hasHUD(usr,"medical"))
|
||||
if(usr.incapacitated() || isobserver(usr))
|
||||
return
|
||||
var/perpname = "wot"
|
||||
var/read = 0
|
||||
|
||||
@@ -904,6 +915,8 @@
|
||||
|
||||
if(href_list["medrecordComment"])
|
||||
if(hasHUD(usr,"medical"))
|
||||
if(usr.incapacitated() || isobserver(usr))
|
||||
return
|
||||
var/perpname = "wot"
|
||||
var/read = 0
|
||||
|
||||
@@ -933,6 +946,8 @@
|
||||
|
||||
if(href_list["medrecordadd"])
|
||||
if(hasHUD(usr,"medical"))
|
||||
if(usr.incapacitated() || isobserver(usr))
|
||||
return
|
||||
var/perpname = "wot"
|
||||
if(wear_id)
|
||||
if(istype(wear_id,/obj/item/card/id))
|
||||
|
||||
Reference in New Issue
Block a user