Describe the bug
When alarm block is activated, and the player moves far away from the block(probably related to the chunks getting unloaded) and coming back to it, double alarm sounds starts playing, once you shut down the first via the computer, the second keeps playing, its impossible to shut it down and can only be done so by leaving the game and loading the save again.
Tried to decrease the alarm range, still the same thing happens once you go far way from the block and come back.
In which environment did the Bug appear?
Single player, have not tested on a server but the alarm function is mainly needed for server play
To Reproduce
What i did, computer tier 3, disk, the whole modules so the computer in game works. Then go to lua,
And then just fly very far away ( i guess until chunks unload) and fly back to it. Now you should hear double alarm start playing. You shut down the first one via computer using alarm.deactivate(), while the second still keeps playing.
Its also the same problem if i decrease the range.
Expected behavior
I expect for the alarm to shut down once i use the alarm.deactivate() function and i expected no double alarms to start playing once i come back.
Describe the bug When alarm block is activated, and the player moves far away from the block(probably related to the chunks getting unloaded) and coming back to it, double alarm sounds starts playing, once you shut down the first via the computer, the second keeps playing, its impossible to shut it down and can only be done so by leaving the game and loading the save again.
Tried to decrease the alarm range, still the same thing happens once you go far way from the block and come back.
In which environment did the Bug appear? Single player, have not tested on a server but the alarm function is mainly needed for server play
To Reproduce
What i did, computer tier 3, disk, the whole modules so the computer in game works. Then go to lua,
alarm = require("component").os_alarm alarm.setRange(15)
alarm.activate()
And then just fly very far away ( i guess until chunks unload) and fly back to it. Now you should hear double alarm start playing. You shut down the first one via computer using alarm.deactivate(), while the second still keeps playing. Its also the same problem if i decrease the range.
Expected behavior I expect for the alarm to shut down once i use the alarm.deactivate() function and i expected no double alarms to start playing once i come back.
Minecraft: