Zeus - Fix trench module on clients (#9513)

* Zeus - Fix trench module on clients

* Update addons/zeus/functions/fnc_moduleLayTrench.sqf
This commit is contained in:
PabstMirror 2023-10-19 12:15:14 -05:00 committed by GitHub
parent d70c049b4f
commit e3f447c8bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,9 @@ if !(["ace_trenches"] call EFUNC(common,isModLoaded)) exitWith {
[LSTRING(RequiresAddon)] call FUNC(showMessage);
};
if (_logic getVariable [QGVAR(ran), false]) exitWith {};
_logic setVariable [QGVAR(ran), true];
private _drawCode = {
params ["_object", "_mousePos"];
private _startPos = getPos _object;