Fix syntax error

This commit is contained in:
Ethan O'Brien 2024-02-01 14:00:52 -06:00
parent 76c3ea1c0e
commit de96867bd8

View file

@ -175,7 +175,7 @@ class EJS_GameManager {
} }
screenshot() { screenshot() {
this.functions.screenshot(); this.functions.screenshot();
return new Promise(resolve => async { return new Promise(async resolve => {
while (1) { while (1) {
try { try {
FS.stat("/screenshot.png"); FS.stat("/screenshot.png");