Skip to content

Commit

Permalink
fix: notifyPosition issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mafewtm committed Nov 15, 2023
1 parent 624b6e0 commit 553cdfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/functions.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local notifyPosition = require 'config.shared'.notifyPosition
local positionConfig = require 'config.shared'.notifyPosition

---Text box popup for player which dissappears after a set time.
---@param text table|string text of the notification
Expand All @@ -20,7 +20,7 @@ function Notify(text, notifyType, duration, subTitle, notifyPosition, notifyStyl
else
description = text
end
local position = notifyPosition or notifyPosition
local position = notifyPosition or positionConfig

lib.notify({
id = title,
Expand Down

0 comments on commit 553cdfe

Please sign in to comment.