Skip to content

Commit da0ebed

Browse files
committed
Fix crash
1 parent 5aaddd2 commit da0ebed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mods/apis/hud_events/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ local function show_quick_hud_event(player, huddef)
5151
end
5252

5353
if quick_event_timer[pname] then
54-
quick_event_timer[pname].cancel()
54+
quick_event_timer[pname]:cancel()
5555
end
5656
quick_event_timer[pname] = minetest.after(HUD_SHOW_QUICK_TIME, function()
5757
if not player:is_player() then return end

0 commit comments

Comments
 (0)