Skip to content

Commit

Permalink
fix: modal window event name
Browse files Browse the repository at this point in the history
  • Loading branch information
omarcopires committed Mar 2, 2024
1 parent f981bac commit 0dbf55e
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 0dbf55e

Please sign in to comment.