hedgewars/uInputHandler.pas
changeset 14918 6a928999fefd
parent 14917 63357ed39886
child 14932 938e67bc08ac
--- a/hedgewars/uInputHandler.pas	Tue May 07 14:17:09 2019 +0200
+++ b/hedgewars/uInputHandler.pas	Tue May 07 15:50:15 2019 +0200
@@ -60,7 +60,7 @@
 procedure ControllerButtonEvent(joy, button: Byte; pressed: Boolean);
 
 implementation
-uses uKeyNames, uConsole, uCommands, uVariables, uConsts, uUtils, uDebug, uPhysFSLayer, uCursor;
+uses uKeyNames, uConsole, uCommands, uVariables, uConsts, uUtils, uDebug, uPhysFSLayer, uCursor, uScript;
 
 const
     LSHIFT = $0200;
@@ -251,6 +251,7 @@
             updateVolumeDelta(true);
             updateCursorMovementDelta(true, CursorMovementX, CursorMovementX);
             updateCursorMovementDelta(true, CursorMovementY, CursorMovementY);
+            ScriptCall('onPreciseLocal');
             end;
 
         ParseCommand(CurrentBinds.binds[CurrentBinds.indices[code]], Trusted);