An error happens when trying to enable the Seraphim sniperbot (xsl0305) long range toggle.
To reproduce, cheat in a Seraphim T3 sniperbot and click on the sniper toggle button:
The log shows an error:
WARNING: Error running OnScriptBitSet script in Entity xsl0305 at 574b1208: ...\gamedata\units.nx2\units\xsl0305\xsl0305_script.lua(165): attempt to perform arithmetic on field `LandSpeedMultiplier' (a nil value)
stack traceback:
...\gamedata\units.nx2\units\xsl0305\xsl0305_script.lua(165): in function <...\gamedata\units.nx2\units\xsl0305\xsl0305_script.lua:161>
An error happens when trying to enable the Seraphim sniperbot (xsl0305) long range toggle.
To reproduce, cheat in a Seraphim T3 sniperbot and click on the sniper toggle button:![image](https://github.com/FAForever/nomads/assets/95254039/eefe1398-70c3-4a3b-8e27-a46f847e0356)
The log shows an error: WARNING: Error running OnScriptBitSet script in Entity xsl0305 at 574b1208: ...\gamedata\units.nx2\units\xsl0305\xsl0305_script.lua(165): attempt to perform arithmetic on field `LandSpeedMultiplier' (a nil value) stack traceback: ...\gamedata\units.nx2\units\xsl0305\xsl0305_script.lua(165): in function <...\gamedata\units.nx2\units\xsl0305\xsl0305_script.lua:161>