And then I got a crash when I was on the "factory" floor (first floor from the teleporter) ;(
https://drive.google.com/open?id=1WXpcEr1Iguzg9R9ap8pHmPrsSe2X9w0r
Error while running event modmash::on_tick (ID 0)
LuaSurface API call when LuaSurface was invalid.
stack traceback:
modmash/prototypes/scripts/pollution.lua:75: in function 'v'
modmash/control.lua:393: in function <modmash/control.lua:390>
stack traceback:
[C]: in function 'index'
__modmash/prototypes/scripts/pollution.lua:75: in function 'v'
modmash/control.lua:393: in function <modmash/control.lua:390>
Also, the previous performance issues I had might kind-of be related? In warptorio2 (expansion), enemies normally swarm a very polluting center platform, and if you're anywhere near it, they'll swarm you. On one planet, I had multiple enemy paths in the debug screen coming to me, but relatively few enemies. On the next planet, I went away, and placed buildings/machines far enough away so that they didn't swarm. I didn't have the performance issue anytime on that planet, but did the previous ones where I was being attacked.