Hello everyone!
I'm having this issue:
I installed a script to change the day-night cycle, and it works, but...
When switching from daytime lighting to nighttime, the hero menu becomes unavailable, and only for player #1.
What could be the problem?
Here's the code:
curr_light = 'day'
function DayNight()
if curr_light == 'day' then
SetAmbientLight(GROUND, 'NIGHT', 1, 5.0)
curr_light = 'night'
else
SetAmbientLight(GROUND, 'DAY', 1, 5.0)
curr_light = 'day'
end
end