mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
[TM-ONLY][DNM] Attempts to remove all instances where a list is accessed with a '?' (#5932)
* I hate TGUI even if its better than what we had before * this is why linters exist * you need to be a Head or the Warden to get items * does this please you linter? * foundation * basic interactions * yea I can spell okay? * linters please leave me alone * begone debug code * if you are dead, no interacting * linters leave me alone * linters are stealing my soul * forgot to do this * sound framework, probably wont work though * max length, and interaction cooldowns * message can now be a list and minor code improve * I am a slave and linters are my master * fix improper static reference * add json loading/saving functionality * default for message is now a list * jsonize def interactions; implement requirements * bad * bug fix; CtrlShiftClick to interact * minor qol fix * fix CtrlShiftClick and remove debug code * haha docker has security measures * this was painful * why are you in this branch * begone * bruh * begone Co-authored-by: Matthew <matthew@tfaluc.com> Co-authored-by: Matthew J <GoldenKeyboard@users.noreply.github.com>
This commit is contained in:
@@ -117,7 +117,7 @@
|
||||
var/list/varsvars = vv_parse_text(O, new_value)
|
||||
var/pre_processing = new_value
|
||||
var/unique
|
||||
if (varsvars?.len)
|
||||
if (varsvars && 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?.len)
|
||||
if (subtypes && 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
|
||||
|
||||
Reference in New Issue
Block a user