mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-29 19:11:51 +00: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:
@@ -172,7 +172,7 @@
|
||||
else
|
||||
last_message = null
|
||||
return TRUE
|
||||
if(channel?.messages?.len)
|
||||
if(channel?.messages && channel?.messages.len)
|
||||
ui_header = last_message == channel.messages[length(channel.messages)] ? "ntnrc_idle.gif" : "ntnrc_new.gif"
|
||||
else
|
||||
ui_header = "ntnrc_idle.gif"
|
||||
|
||||
Reference in New Issue
Block a user