Removes a lot of redundant non-modular changes and maybe fixes cleanbots (#6615)

* oof

* Update _ai_controller.dm

* no need for this anymore
This commit is contained in:
Gandalf
2021-06-30 21:50:50 +02:00
committed by GitHub
parent 239db4ca54
commit 778a589555
41 changed files with 63 additions and 69 deletions
@@ -117,7 +117,7 @@
var/list/varsvars = vv_parse_text(O, new_value)
var/pre_processing = new_value
var/unique
if (varsvars && varsvars.len)
if (varsvars?.len)
unique = tgui_alert(usr, "Process vars unique to each instance, or same for all?", "Variable Association", list("Unique", "Same"))
if(unique == "Unique")
unique = TRUE
@@ -23,7 +23,7 @@ GLOBAL_PROTECT(VVpixelmovement)
var/list/subtypes = subtypesof(type)
if (!subtypes || !subtypes.len)
return FALSE
if (subtypes && subtypes.len)
if (subtypes?.len)
switch(tgui_alert(usr,"Strict object type detection?", "Type detection", list("Strictly this type","This type and subtypes", "Cancel")))
if("Strictly this type")
return FALSE