Describe the bug
When trying to realign track (using ALT + END) and there is no angle set or A+B line, this will pop a LUA error.
2021-12-10 18:26 Error: Running LUA method 'update'.
2021-12-10 18:26 C:/Users/lacti/Documents/My Games/FarmingSimulator2022/mods_server/FS22_guidanceSteering/src/vehicles/GlobalPositioningSystem.lua:1007: attempt to call method 'setWarningMessage' (a nil value)
To Reproduce
Steps to reproduce the behavior:
Activate GPS with ALT+C
Type ALT+End to realign track
Go to the log
See error
Expected behavior
No error in the log and maybe a warning message saying that there is no route set.
Desktop (please complete the following information):
Describe the bug When trying to realign track (using ALT + END) and there is no angle set or A+B line, this will pop a LUA error. 2021-12-10 18:26 Error: Running LUA method 'update'. 2021-12-10 18:26 C:/Users/lacti/Documents/My Games/FarmingSimulator2022/mods_server/FS22_guidanceSteering/src/vehicles/GlobalPositioningSystem.lua:1007: attempt to call method 'setWarningMessage' (a nil value)
To Reproduce Steps to reproduce the behavior:
Expected behavior No error in the log and maybe a warning message saying that there is no route set.
Desktop (please complete the following information):