mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-09-06 15:28:39 +00:00
Merge branch 'main' into leaderboards-again
This commit is contained in:
@@ -613,7 +613,7 @@ void SGCannon::StopGame(Entity* self, bool cancel) {
|
||||
|
||||
// Destroy all spawners
|
||||
for (auto* entity : Game::entityManager->GetEntitiesInGroup("SGEnemy")) {
|
||||
entity->Kill();
|
||||
entity->Smash(LWOOBJID_EMPTY, eKillType::SILENT);
|
||||
}
|
||||
|
||||
ResetVars(self);
|
||||
|
Reference in New Issue
Block a user