mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
removes a bunch of unused/bad helpers (#48969)
* a commit * Update code/controllers/subsystem/persistence.dm Co-Authored-By: Emmett Gaines <ninjanomnom@gmail.com> * Update code/__HELPERS/text.dm Co-Authored-By: Emmett Gaines <ninjanomnom@gmail.com> * Update advance.dm * Update security_officer.dm * Update text.dm * Update unsorted.dm Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
This commit is contained in:
committed by
AnturK
co-authored by
Emmett Gaines
parent
f044bc1d70
commit
40657c9ccd
@@ -155,7 +155,7 @@ SUBSYSTEM_DEF(persistence)
|
||||
|
||||
var/list/chosen_trophy = trophy_data
|
||||
|
||||
if(!chosen_trophy || isemptylist(chosen_trophy)) //Malformed
|
||||
if(!length(chosen_trophy)) //Malformed
|
||||
continue
|
||||
|
||||
var/path = text2path(chosen_trophy["path"]) //If the item no longer exist, this returns null
|
||||
|
||||
@@ -107,7 +107,7 @@ SUBSYSTEM_DEF(ticker)
|
||||
continue
|
||||
music -= S
|
||||
|
||||
if(isemptylist(music))
|
||||
if(!length(music))
|
||||
music = world.file2list(ROUND_START_MUSIC_LIST, "\n")
|
||||
login_music = pick(music)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user