mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-11 10:22:13 +00:00
Update config_entry.dm
This commit is contained in:
@@ -51,14 +51,11 @@
|
|||||||
return FALSE
|
return FALSE
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
/datum/config_entry/proc/VASProcCallGuard(str_val)
|
/datum/config_entry/proc/VASProcCallGuard(str_val)
|
||||||
. = !(IsAdminAdvancedProcCall() && GLOB.LastAdminCalledProc == "ValidateAndSet" && GLOB.LastAdminCalledTargetRef == "[REF(src)]")
|
. = !(IsAdminAdvancedProcCall() && GLOB.LastAdminCalledProc == "ValidateAndSet" && GLOB.LastAdminCalledTargetRef == "[REF(src)]")
|
||||||
if(!.)
|
if(!.)
|
||||||
log_admin_private("Config set of [type] to [str_val] attempted by [key_name(usr)]")
|
log_admin_private("Config set of [type] to [str_val] attempted by [key_name(usr)]")
|
||||||
|
|
||||||
>>>>>>> 626302c... Merge pull request #32161 from ninjanomnom/512-experimental
|
|
||||||
/datum/config_entry/proc/ValidateAndSet(str_val)
|
/datum/config_entry/proc/ValidateAndSet(str_val)
|
||||||
CRASH("Invalid config entry type!")
|
CRASH("Invalid config entry type!")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user