psznm / DoubleSpeedSpidertron

MIT License
0 stars 2 forks source link

Only check Spider-vehicles on equipment #1

Closed Aerospacesmith closed 3 years ago

Aerospacesmith commented 3 years ago

This fixes bug where any entity which contained an equipment grid (such as modded entities or grids added to base vehicles) was running the "adjust_spidertron" function and causing errors on non-spider entities.

psznm commented 3 years ago

Thank you very much! I have added your fix to version 0.0.6, however I didn't like it being another if separate from the one already checking if we should continue. So I merged the conditions into one single if.