Skip to content

Commit

Permalink
refactor(vem): stop lerping if destroyed
Browse files Browse the repository at this point in the history
  • Loading branch information
IllustrisJack committed Oct 7, 2022
1 parent ba7e774 commit dbea12b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ext/Client/__init__.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit dbea12b

Please sign in to comment.