Fix sound bug
This commit is contained in:
parent
b59567aab1
commit
638993b49b
@ -385,8 +385,11 @@ local tubing = {
|
|||||||
end,
|
end,
|
||||||
on_node_load = function(pos)
|
on_node_load = function(pos)
|
||||||
CRD(pos).State:on_node_load(pos)
|
CRD(pos).State:on_node_load(pos)
|
||||||
stop_sound(pos)
|
local nvm = techage.get_nvm(pos)
|
||||||
play_sound(pos)
|
if nvm.techage_state == techage.RUNNING then
|
||||||
|
stop_sound(pos)
|
||||||
|
play_sound(pos)
|
||||||
|
end
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user