Created
May 28, 2019 14:43
-
-
Save rjriel/dc14749a2a5e8af897bf7b997ef7fd14 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
await qixApp.createObject({ | |
qInfo: { qId: "Badge", qType: "GenericObject" }, | |
badge: "0", | |
raceId: "" | |
}) | |
await qixApp.doSave() | |
badgeObject = await qixApp.getObject("Badge") | |
badgeObject.on("changed", async () => { | |
checkBadge() | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment