fixed game crashing after unpausing

This commit is contained in:
devZoGok
2024-06-21 18:53:04 +03:00
parent 55dd9c0185
commit d6ef429d69
+2 -2
View File
@@ -412,10 +412,10 @@ namespace battleship{
}
void Unit::reinit(){
destroySound();
destroyWeapons();
destroyHitbox();
destroyModel();
destroyWeapons();
destroySound();
initProperties();