mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Closes up stuff in SDQL2
This commit is contained in:
@@ -13,6 +13,14 @@ var/list/forbidden_varedit_object_types = list(
|
||||
feedback_add_details("admin_verb","EDITV") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
*/
|
||||
|
||||
/proc/datum_is_forbidden(type)
|
||||
for(var/p in forbidden_varedit_object_types)
|
||||
if(istype(type, p))
|
||||
to_chat(usr, "<span class='warning'>It is forbidden to tamper with this object.</span>")
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
|
||||
/client/proc/cmd_modify_ticker_variables()
|
||||
set category = "Debug"
|
||||
set name = "Edit Ticker Variables"
|
||||
@@ -131,7 +139,7 @@ var/list/forbidden_varedit_object_types = list(
|
||||
L[var_value] = mod_list_add_ass() //haha
|
||||
if("No")
|
||||
L += var_value
|
||||
|
||||
|
||||
/client/proc/mod_list(var/list/L)
|
||||
if(!check_rights(R_VAREDIT)) return
|
||||
|
||||
@@ -497,4 +505,4 @@ var/list/forbidden_varedit_object_types = list(
|
||||
to_chat(usr, "Variable type is <b>UNKNOWN</b>.")
|
||||
class = null
|
||||
|
||||
return class
|
||||
return class
|
||||
|
||||
Reference in New Issue
Block a user