created alpha

This commit is contained in:
Monica Moniot
2022-11-04 01:00:28 -04:00
parent ebcb906f27
commit 190741715d
10 changed files with 41 additions and 47 deletions

View File

@@ -118,7 +118,7 @@ local function on_gui_closed(event)
if rootgui[COMBINATOR_NAME] then
rootgui[COMBINATOR_NAME].destroy()
--TODO: play close sound to player
player.play_sound({path = COMBINATOR_CLOSE_SOUND})
end
end
@@ -133,7 +133,7 @@ function register_gui_actions()
if msg[1] == "close" then
if rootgui[COMBINATOR_NAME] then
rootgui[COMBINATOR_NAME].destroy()
--TODO: play close sound to player
player.play_sound({path = COMBINATOR_CLOSE_SOUND})
end
elseif msg[1] == "drop-down" then
local element = event.element