Fixes some dummy thicc runtimes

This commit is contained in:
Dip
2020-11-21 03:03:27 -03:00
parent 09a02bedc7
commit ccd2d137b7
4 changed files with 20 additions and 21 deletions
+2 -2
View File
@@ -86,8 +86,8 @@ GLOBAL_LIST_EMPTY(teleportlocs)
var/turf/picked = AR.contents[1]
if (picked && is_station_level(picked.z))
GLOB.teleportlocs[AR.name] = AR
sortTim(GLOB.teleportlocs, /proc/cmp_text_dsc)
if(GLOB.teleportlocs.len) //DON'T TRY TO TIMSORT THINGS THAT HAVE NOTHING. FUCK.
sortTim(GLOB.teleportlocs, /proc/cmp_text_dsc)
// ===