summaryrefslogtreecommitdiffstats
path: root/Client/Functions/Client_HandleHQAction.sqf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Client/Functions/Client_HandleHQAction.sqf12
1 files changed, 12 insertions, 0 deletions
diff --git a/Client/Functions/Client_HandleHQAction.sqf b/Client/Functions/Client_HandleHQAction.sqf
new file mode 100644
index 0000000..b8e4e60
--- /dev/null
+++ b/Client/Functions/Client_HandleHQAction.sqf
@@ -0,0 +1,12 @@
+Private ['_hq'];
+_hq = _this;
+
+if (isNull _hq) exitWith {};
+
+/* Lag Handler */
+while {!isNull _hq} do {
+ canBuildWHQ = false;
+ sleep 0.21;
+};
+
+canBuildWHQ = true; \ No newline at end of file