Few small tweaks

This commit is contained in:
Noah 2021-10-09 21:22:50 -07:00
parent 73175b6965
commit d6e0385463

View File

@ -49,7 +49,7 @@ function main() {
Events.OnLeave(function (e) { Events.OnLeave(function (e) {
delete colliders[e.Actor.ID()]; delete colliders[e.Actor.ID()];
if (Object.keys(colliders).length === 0) { if (Object.keys(colliders).length === 0 && !stickyDown) {
Sound.Play("button-up.wav") Sound.Play("button-up.wav")
Self.ShowLayer(0); Self.ShowLayer(0);
Message.Publish("power", false); Message.Publish("power", false);