mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] mass refactor of holder checks (#11155)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
54d0d16826
commit
7161a6c22e
@@ -173,7 +173,7 @@
|
||||
var/check_togglable
|
||||
|
||||
|
||||
if(!holder)
|
||||
if(!check_rights_for(src, R_HOLDER))
|
||||
return
|
||||
|
||||
var/s_name = tgui_input_text(src, "Item Name:", "Name")
|
||||
|
||||
@@ -226,7 +226,7 @@
|
||||
var/check_togglable
|
||||
|
||||
|
||||
if(!holder)
|
||||
if(!check_rights_for(src, R_HOLDER))
|
||||
return
|
||||
|
||||
var/s_name = tgui_input_text(src, "Structure Name:", "Name")
|
||||
|
||||
Reference in New Issue
Block a user