casual-simulation / casualos

Casual Open Simulation for the Web
https://ab1.bot
MIT License
48 stars 8 forks source link

`os.getCurrentInst()` returns undefined when a static inst is loaded #415

Closed KallynGowdy closed 4 months ago

KallynGowdy commented 4 months ago

Currently, when a static inst is loaded, os.getCurrentInst() returns undefined. It should return the value of the staticInst tag on the configBot when there is no value in the inst tag of the configBot.