fixes stray hyphen when station name is default

This commit is contained in:
deathride58
2022-05-05 20:02:20 -04:00
parent 40730237f2
commit f262d65261
+2 -2
View File
@@ -297,8 +297,8 @@ GLOBAL_LIST(topic_status_cache)
var/stationname = station_name()
var/defaultstation = CONFIG_GET(string/stationname)
if(servername || stationname != defaultstation)
. += (servername ? "<b>[servername] - " : "<b>")
. += (stationname != defaultstation ? "[stationname]</b>\] " : "</b>\] ")
. += (servername ? "<b>[servername]" : "<b>")
. += (stationname != defaultstation ? "[servername ? " - " : ""][stationname]</b>\] " : "</b>\] ")
var/communityname = CONFIG_GET(string/communityshortname)
var/communitylink = CONFIG_GET(string/communitylink)