900hasse / FS22_REAimplements

Farming Simulator 22, implements
29 stars 3 forks source link

Compatibility with CoursePlay on Dediservers #7

Open jason0611 opened 2 years ago

jason0611 commented 2 years ago

Fix massive Lua-CallStacks while using CoursePlay for the field work on Dediservers:

I don't know why, but when using Courseplay on a dediserver, PowerConsumer.GroundTypeNodes seems to be nil, causing an endless count of Lua call stacks in the server's log. By checking the nil-condition before calling setTranslation, all works fine now.

3 #6