-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
Description
Describe the bug
The alarm block only plays the alarm sound once instead of looping it. After playing the sound once, it needs to be deactivated before it can be reactivated to play the sound once more. Tested with default and custom alarm sounds.
In which environment did the Bug appear?
Singleplayer
To Reproduce
- Place down alarm block
- Set up some kind of OpenComputers Computer
- Connect alarm block to Computer
- Set alarm sound and activate alarm using the Computer
- Alarm block plays sound once, then stops
Expected behavior
Alarm should loop the alarm sound indefinetly until deactivated.
Screenshots / Code Snippet
Code used for activating the alarm (executed both from a file and from the OpenOS lua shell):
alarm = component.os_alarm
alarm.setAlarm("alarmsound")
alarm.activate()Minecraft:
- Mod Version: OpenSecurity-1.12.2-1.0-39
- Minecraft Version: Minecraft 1.12
- Forge Version: Forge 14.23.5.2847