mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user