Skip to content

Commit

Permalink
Zeus - Fix trench module on clients (acemod#9513)
Browse files Browse the repository at this point in the history
* Zeus - Fix trench module on clients

* Update addons/zeus/functions/fnc_moduleLayTrench.sqf
  • Loading branch information
PabstMirror authored Oct 19, 2023
1 parent d70c049 commit e3f447c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions addons/zeus/functions/fnc_moduleLayTrench.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e3f447c

Please sign in to comment.