mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +01:00
Merge pull request #14791 from TDSSS/stationgoal-space-fix
Removes spaces from station goal announcement
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
var/highscore = 0
|
||||
for(var/obj/machinery/power/bluespace_tap/T in GLOB.machines)
|
||||
highscore = max(highscore, T.total_points)
|
||||
to_chat(world, "<b>Bluespace Harvester Highscore</b> : [highscore >= goal ? "<span class='greenannounce'>": "<span class='boldannounce'>"][highscore]</span>")
|
||||
to_chat(world, "<b>Bluespace Harvester Highscore</b>: [highscore >= goal ? "<span class='greenannounce'>": "<span class='boldannounce'>"][highscore]</span>")
|
||||
if(highscore >= goal)
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
@@ -28,9 +28,9 @@
|
||||
|
||||
/datum/station_goal/proc/print_result()
|
||||
if(check_completion())
|
||||
to_chat(world, "<b>Station Goal</b> : [name] : <span class='greenannounce'>Completed!</span>")
|
||||
to_chat(world, "<b>Station Goal</b>: [name]: <span class='greenannounce'>Completed!</span>")
|
||||
else
|
||||
to_chat(world, "<b>Station Goal</b> : [name] : <span class='boldannounce'>Failed!</span>")
|
||||
to_chat(world, "<b>Station Goal</b>: [name]: <span class='boldannounce'>Failed!</span>")
|
||||
|
||||
/datum/station_goal/Destroy()
|
||||
SSticker.mode.station_goals -= src
|
||||
|
||||
Reference in New Issue
Block a user