Fix set_light colour parameters for ethereal disco ball (#81326)

🆑 optimumtact, whomst didn't write this CL entry.
fix: Fixed the colorful lights of the ethereal disco ball.
/🆑
This commit is contained in:
oranges
2024-02-08 00:51:50 +01:00
committed by GitHub
parent 686931b21f
commit 46d6daf524
+1 -1
View File
@@ -61,7 +61,7 @@
/obj/structure/etherealball/proc/DiscoFever()
remove_atom_colour(TEMPORARY_COLOUR_PRIORITY)
current_color = random_color()
set_light(range, power, current_color)
set_light(range, power, "#[current_color]")
add_atom_colour("#[current_color]", FIXED_COLOUR_PRIORITY)
update_appearance()
TimerID = addtimer(CALLBACK(src, PROC_REF(DiscoFever)), 5, TIMER_STOPPABLE) //Call ourselves every 0.5 seconds to change colors