Skip to content

Commit

Permalink
fix: modal window event name (#2364)
Browse files Browse the repository at this point in the history
  • Loading branch information
omarcopires authored Mar 2, 2024
1 parent f981bac commit 4bf01a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/libs/functions/modal_window_helper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ function ModalWindow:sendToPlayer(player)
local playerId = player:getId()
ModalWindows[playerId] = ModalWindows[playerId] or {}
ModalWindows[playerId][self.modalWindowId] = self
player:registerEvent("modalWindowHelper")
player:registerEvent("ModalWindowHelper")
self.using = self.using + 1
return modalWindow:sendToPlayer(player)
end

0 comments on commit 4bf01a2

Please sign in to comment.