FAForever / FAForever/nomads

Bug with Seraphin sniperbot long range toggle

Open
#672 0 comments 0 reactions 0 assignees View on GitHub
area: unit-blueprint type: bug
Dominant language
Lua
Stars
13
Forks
27
PR merge metrics
No merged PRs in 30d

Description

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>

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.