Skip to content

Commit

Permalink
fix typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
elsongabriel committed Apr 2, 2024
1 parent 4e39524 commit 2514df3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data/scripts/talkactions/gm/afk.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function afk.onSay(player, words, param)
local isAfk = checkIsAFK(id)
if param == "on" then
if isAfk.afk then
player:sendCancelMessage("You already is AFK!")
player:sendCancelMessage("You are already AFK!")
return true
end

Expand Down Expand Up @@ -75,6 +75,7 @@ function callback.playerOnWalk(player, creature, creaturePos, toPos)
local isAfk = checkIsAFK(player:getId())
if isAfk.afk then
table.remove(playersAFKs, isAfk.index)
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You are no longer AFK!")
end
return true
end
Expand Down

0 comments on commit 2514df3

Please sign in to comment.