mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-31 07:58:22 +01:00
mass refactor of holder checks (#17967)
* mass refactor of holder checks * don't touch them * fix * .
This commit is contained in:
@@ -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