Skip to content

Commit

Permalink
Fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneWolfHT committed Feb 5, 2024
1 parent 5aaddd2 commit da0ebed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/apis/hud_events/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit da0ebed

Please sign in to comment.