Problem
If HUD is disabled (eg. by gsToggleFlightAndNoHUDMode command), a player cannot control IC because of state control and event change is in :draw() method.
Solution
move this piece of code into :update(dt) or :updateTick(dt) methods for availability to use IC when HUD is off, but also preserve accuracy when driving.
Problem
If HUD is disabled (eg. by
gsToggleFlightAndNoHUDModecommand), a player cannot control IC because of state control and event change is in:draw()method.Solution
move this piece of code into
:update(dt)or:updateTick(dt)methods for availability to use IC when HUD is off, but also preserve accuracy when driving.