Merge branch 'gemp-dev' into card-dev

This commit is contained in:
Christian 'ketura' McCarty
2021-03-05 21:57:48 -06:00

View File

@@ -1956,7 +1956,10 @@ var GempLotrGameUI = Class.extend({
PlaySound: function(soundObj) {
var myAudio = document.getElementById(soundObj);
myAudio.play();
if(!document.hasFocus() || document.hidden || document.msHidden || document.webkitHidden)
{
myAudio.play();
}
},
createActionChoiceContextMenu: function (actions, event, selectActionFunction) {