while (i<this.inv.length-1){
names.push(this.inv[i].namestring().slice(0,20)); //This line in shop class thows error
Threw error every frame claiming this.inv[i] was undefined, despite being inside a while loop requiring that it be defined.
Not repeatable generally, occurred after loading save file, then travelling up from 35 to 118 (neighboring system, also last in the stack) and interacting with the shop there. The "Buy" menus threw the error, other menus did not. Was escapable, and was repeatable within that generated world.
while (i<this.inv.length-1){ names.push(this.inv[i].namestring().slice(0,20)); //This line in shop class thows error
Threw error every frame claiming this.inv[i] was undefined, despite being inside a while loop requiring that it be defined.
Not repeatable generally, occurred after loading save file, then travelling up from 35 to 118 (neighboring system, also last in the stack) and interacting with the shop there. The "Buy" menus threw the error, other menus did not. Was escapable, and was repeatable within that generated world.