Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix: stopSounds() for triggers#5977

Merged
vadi2 merged 26 commits intoMudlet:developmentfrom
mpconley:trigger-sound-tmedia
Feb 20, 2022
Merged

Fix: stopSounds() for triggers#5977
vadi2 merged 26 commits intoMudlet:developmentfrom
mpconley:trigger-sound-tmedia

Conversation

@mpconley
Copy link
Contributor

Brief overview of PR changes/additions

Enables the play sound feature of triggers to use the Lua API so that sounds could be controlled via the API. Fixes a problem where stopSounds() is not working for sounds created with triggers, per an issue reported referenced below.

Motivation for adding to Mudlet

Corrects oversight introduced in 4.15 and reduces code.

Other info (issues closed, discussion etc)

Resolves #5974.

-Tamarindo@StickMUD

@mpconley mpconley requested a review from a team as a code owner February 13, 2022 22:45
@mpconley mpconley requested a review from a team February 13, 2022 22:45
@add-deployment-links
Copy link

add-deployment-links bot commented Feb 13, 2022

Hey there! Thanks for helping Mudlet improve. 🌟

Test versions

You can directly test the changes here:

No need to install anything - just unzip and run.
Let us know if it works well, and if it doesn't, please give details.

@mudlet-machine-account mudlet-machine-account added this to the 4.16.0 milestone Feb 13, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2022

Messages
✔️

PR type: Fix

Generated by 🚫 dangerJS against a46eaf8

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@stridera
Copy link
Contributor

Verified on windows.

Copy link
Member

@vadi2 vadi2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice on getting rid of old code :)

@vadi2 vadi2 merged commit 32d81a0 into Mudlet:development Feb 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix: Disconnect Triggers from Legacy playSoundFile() function

5 participants