From f1644f3278acd8150f1c4e87eae8c331318eeaa8 Mon Sep 17 00:00:00 2001 From: diwako Date: Tue, 29 Oct 2024 12:50:37 +0100 Subject: [PATCH] fIx create anomaly function --- .hemtt/project.toml | 2 +- addons/main/functions/anomalies/fn_createTeleport.sqf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.hemtt/project.toml b/.hemtt/project.toml index b1c3c03..d909bd1 100644 --- a/.hemtt/project.toml +++ b/.hemtt/project.toml @@ -9,7 +9,7 @@ git_hash = 0 [files] include = ["meta.cpp", "mod.cpp", "authors.txt", "license.txt"] -exclude = ["*.psd", "*.png", "*.tga"] +exclude = ["*.psd", "*.png", "*.tga", "/**/cfg*.hpp"] [hemtt.launch.default] workshop = [ diff --git a/addons/main/functions/anomalies/fn_createTeleport.sqf b/addons/main/functions/anomalies/fn_createTeleport.sqf index b97d9ed..2d99dcf 100644 --- a/addons/main/functions/anomalies/fn_createTeleport.sqf +++ b/addons/main/functions/anomalies/fn_createTeleport.sqf @@ -21,7 +21,7 @@ if !(isServer) exitWith {}; private _varName = ""; if !(_pos isEqualType []) then { //created via module - _id = _pos getVariable [QGVAR(anomalyId), -1]; + _id = _pos getVariable ["anomalyId", -1]; _varName = vehicleVarName _pos; };