Enable onMouseMove script method for GameTSCtrl

Enables the onMouseMove method for scripting in the GameTSCtrl class.
This commit is contained in:
Olathuss 2025-03-04 21:30:19 -07:00
parent 80b16185ef
commit 59b938151d

View file

@ -158,6 +158,8 @@ void GameTSCtrl::onMouseMove(const GuiEvent &evt)
lineTestEnd = pos + vec * 1000;
}
}
if (isMethod("onMouseMove"))
makeScriptCall("onMouseMove", evt);
}
void GameTSCtrl::onRender(Point2I offset, const RectI &updateRect)