From 6daa7ede792a89f78c24511ee27b73f9a6a30277 Mon Sep 17 00:00:00 2001 From: Shesmuu <50734587+Shesmuu@users.noreply.github.com> Date: Fri, 29 Nov 2024 20:33:59 +0500 Subject: [PATCH] Crash fix --- game/scripts/vscripts/addon_game_mode.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/scripts/vscripts/addon_game_mode.lua b/game/scripts/vscripts/addon_game_mode.lua index 3078fd7d..acede04a 100644 --- a/game/scripts/vscripts/addon_game_mode.lua +++ b/game/scripts/vscripts/addon_game_mode.lua @@ -976,7 +976,7 @@ function GameMode:OnRoundEnd(round) -- Setting up end-camera round:Destroy() - DoEntFire("round_end_layer_entity", "ShowWorldLayerAndSpawnEntities", "", 0.0, nil, nil) + -- DoEntFire("round_end_layer_entity", "ShowWorldLayerAndSpawnEntities", "", 0.0, nil, nil) self.level:Hide() local positions = { @@ -1052,7 +1052,7 @@ function GameMode:OnRoundEnd(round) hero:GetUnit():RemoveSelf() end - DoEntFire("round_end_layer_entity", "HideWorldLayerAndDestroyEntities", "", 0.0, nil, nil) + -- DoEntFire("round_end_layer_entity", "HideWorldLayerAndDestroyEntities", "", 0.0, nil, nil) self.level:Show() self.round = nil