Fix MaterialItem not entirely uninitializing

was causing an exception when a MaterialItem had a script on it
This commit is contained in:
Kae 2024-06-26 13:04:19 +10:00
parent 563d95b9e6
commit 624d41f94a

View File

@ -72,6 +72,7 @@ void MaterialItem::init(ToolUserEntity* owner, ToolHand hand) {
}
void MaterialItem::uninit() {
FireableItem::uninit();
m_lastAimPosition.reset();
}