Space Platform Automatic Map Update


A mod that makes the map view of platforms automatically update/rechart whenever you switch to and from it.

Utilities
12 days ago
2.0
20
Environment

b Bug when removing surface

12 days ago

I was on a surface from another mod, that i disabled. I was returned to Nauvis just fine, but few sec. later i got the following bug:

Error while running event platform-map-update::on_player_changed_surface (ID 55)
platform-map-update/control.lua:2: attempt to compare number with nil
stack traceback:
platform-map-update/control.lua:2: in function <platform-map-update/control.lua:1>

12 days ago

So sorry about that, I misread the documentation and confused 'nil' and '0'.
I've fixed it now, and tested that it it no longer crashes when a surface is deleted.

New response