diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-06-26 13:04:19 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-06-26 13:04:19 +1000 |
commit | 624d41f94a13b7296ef77950df1d83324829d87b (patch) | |
tree | 294117629330edadaad04b2c67b5b01f2cb80810 | |
parent | 563d95b9e6c67a6de31ef00ad0ec4fd1d597a6b1 (diff) |
Fix MaterialItem not entirely uninitializing
was causing an exception when a MaterialItem had a script on it
-rw-r--r-- | source/game/items/StarMaterialItem.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/game/items/StarMaterialItem.cpp b/source/game/items/StarMaterialItem.cpp index 4d13a62..bd42bac 100644 --- a/source/game/items/StarMaterialItem.cpp +++ b/source/game/items/StarMaterialItem.cpp @@ -72,6 +72,7 @@ void MaterialItem::init(ToolUserEntity* owner, ToolHand hand) { } void MaterialItem::uninit() { + FireableItem::uninit(); m_lastAimPosition.reset(); } |