From da0ebede5e849ab72797853a74eb1b4479d59382 Mon Sep 17 00:00:00 2001 From: LoneWolfHT Date: Mon, 5 Feb 2024 09:38:45 -0800 Subject: [PATCH] Fix crash --- mods/apis/hud_events/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/apis/hud_events/init.lua b/mods/apis/hud_events/init.lua index e505591556..c6db9a73f6 100644 --- a/mods/apis/hud_events/init.lua +++ b/mods/apis/hud_events/init.lua @@ -51,7 +51,7 @@ local function show_quick_hud_event(player, huddef) end if quick_event_timer[pname] then - quick_event_timer[pname].cancel() + quick_event_timer[pname]:cancel() end quick_event_timer[pname] = minetest.after(HUD_SHOW_QUICK_TIME, function() if not player:is_player() then return end