sudasana / armcom2

Armoured Commander II
104 stars 13 forks source link

Bug crash in setting crewman action on MoveForward #6

Closed Stew-rt closed 6 years ago

Stew-rt commented 6 years ago

the function MoveForward calls an undeclared function GetStat('reverse_driver') on line 5952 of armcom2.py

This would result in a crash.

this should probably be something like self.GetStat('reverse_driver')

sudasana commented 6 years ago

Fixed!

https://github.com/sudasana/armcom2/commit/b3511bda08cc4d022971d64adb08ac167ffd5765