Fix MaterialItem not entirely uninitializing
was causing an exception when a MaterialItem had a script on it
This commit is contained in:
parent
563d95b9e6
commit
624d41f94a
@ -72,6 +72,7 @@ void MaterialItem::init(ToolUserEntity* owner, ToolHand hand) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void MaterialItem::uninit() {
|
void MaterialItem::uninit() {
|
||||||
|
FireableItem::uninit();
|
||||||
m_lastAimPosition.reset();
|
m_lastAimPosition.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user