`UI_Lua GetUnitCommandData(nil)` for testing. It is inconsisntent but eventually it crashes the game. Proposed fix: * add guard that checks whether argument is table.
UI_Lua GetUnitCommandData(nil)for testing. It is inconsisntent but eventually it crashes the game.Proposed fix: