From 6fab20f02f1bee2bc7bacb4f91dfd0a1243afd79 Mon Sep 17 00:00:00 2001 From: IQuant Date: Sun, 10 Nov 2024 18:25:32 +0300 Subject: [PATCH] Don't show "run ended" as reason of death --- quant.ew/files/system/local_health/local_health.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/quant.ew/files/system/local_health/local_health.lua b/quant.ew/files/system/local_health/local_health.lua index 41310310..952a9c79 100644 --- a/quant.ew/files/system/local_health/local_health.lua +++ b/quant.ew/files/system/local_health/local_health.lua @@ -211,7 +211,10 @@ local function player_died() return end - show_death_message() + -- Don't show "run ended" as reason of death + if not ctx.run_ended then + show_death_message() + end rpc.remove_homing(false) -- Serialize inventory, perks, and max_hp, we'll need to copy it over to notplayer.