From f9aabb04b5a2260437d2d32e6d788434a2f905ff Mon Sep 17 00:00:00 2001 From: bgkillas Date: Sat, 2 Nov 2024 15:53:06 -0400 Subject: [PATCH] fix end run button a bit maybe --- quant.ew/files/core/net_handling.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/quant.ew/files/core/net_handling.lua b/quant.ew/files/core/net_handling.lua index 71030859..81661c1f 100644 --- a/quant.ew/files/core/net_handling.lua +++ b/quant.ew/files/core/net_handling.lua @@ -186,6 +186,7 @@ function net_handling.proxy.end_run(_, _) if entity ~= nil and EntityGetIsAlive(entity) and not EntityHasTag(entity,"ew_notplayer") then EntityInflictDamage(entity, 1000000, "DAMAGE_CURSE", "Run Ended", "NONE", 0, 0, GameGetWorldStateEntity()) end + ctx.run_ended = true GameTriggerGameOver() end