Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Trollhunters501 authored Dec 14, 2024
1 parent 22ca7d6 commit 80bda86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions org/CreadoresProgram/CreadorCraftMaker/Flash/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ $.getScript("https://cdn.jsdelivr.net/npm/@ruffle-rs/ruffle@0.1.0-nightly.2024.1
GameProps.exitGame();
});
GameProps.addEventListener("pauseEvent", function(){
player.suspend();
player.ruffle().suspend();
});
GameProps.addEventListener("resumeEvent", function(){
player.resume();
player.ruffle().resume();
});
}).catch(function(error){
alert("Error Load Game!"+error);
Expand Down

0 comments on commit 80bda86

Please sign in to comment.