From dbea12ba710054fd0b6564d3a21646cd4f47f6cc Mon Sep 17 00:00:00 2001 From: IllustrisJack <76592751+IllustrisJack@users.noreply.github.com> Date: Fri, 7 Oct 2022 23:33:20 +0200 Subject: [PATCH] refactor(vem): stop lerping if destroyed --- ext/Client/__init__.lua | 1 + mod.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/Client/__init__.lua b/ext/Client/__init__.lua index 90635f2..9086837 100644 --- a/ext/Client/__init__.lua +++ b/ext/Client/__init__.lua @@ -421,6 +421,7 @@ function VEManagerClient:_DestroyVE(p_ID) end -- destroy entity + self.m_Lerping[p_ID] = nil l_Preset.entity:Destroy() l_Preset.entity = nil VisualEnvironmentManager:SetDirty(true) diff --git a/mod.json b/mod.json index 8cb90d3..58d783a 100644 --- a/mod.json +++ b/mod.json @@ -3,7 +3,7 @@ "Authors": ["Powback", "IllustrisJack", "Lesley", "GreatApo", "FoolHen"], "Description": "Handles VE", "URL": "https://github.com/BF3RM/VEManager", - "Version": "0.4.1", + "Version": "0.4.2", "HasWebUI": false, "HasVeniceEXT": true }