Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Nauja committed Nov 1, 2023
1 parent 98a9d02 commit 4e9ba8f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,8 @@
url: "https://raw.githubusercontent.com/moroboxai/create-moroboxai-game/master/examples/canvas2d-rgb/agent.*",
width: "500px",
height: "400px",
onRun: (options) =>
player.getController(0).loadAgent(options),
onStop: () => player.getController(0).unloadAgent()
onRun: (options) => player.loadAgent(0, options),
onStop: () => player.unloadAgent(0)
});

attachEditorButton.textContent = "Detach Editor";
Expand Down

0 comments on commit 4e9ba8f

Please sign in to comment.