

-----------------------
I'm getting the same type of error across multiple mods


For the first one, try game.surfaces['nauvis']
Thanks a ton! I think I found a fix for the first one but using what you've shown me for the second one I was able to fix quite a few error related to missing underscores and I've learned what that error message means now. Thanks a lot!daniel34 wrote: For the first one, try game.surfaces['nauvis']
For the second one, try defines.events.on_entity_died
game.surfaces['nauvis'] won't work because it's trying to index 'game'daniel34 wrote:For the first one, try game.surfaces['nauvis']
For the second one, try defines.events.on_entity_died
I know it works, having just tried it in 0.12.26.Austin5003 wrote:game.surfaces['nauvis'] won't work because it's trying to index 'game'daniel34 wrote:For the first one, try game.surfaces['nauvis']
For the second one, try defines.events.on_entity_died