Skip to content

Commit

Permalink
Send 0/1 as value in quest completion check (#4563)
Browse files Browse the repository at this point in the history
  • Loading branch information
rookgaard committed Nov 16, 2023
1 parent a904904 commit 36523f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/lib/core/player.lua
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ function Player.sendQuestLog(self)
for _, quest in pairs(quests) do
msg:addU16(quest.id)
msg:addString(quest.name)
msg:addByte(quest:isCompleted(self))
msg:addByte(quest:isCompleted(self) and 0x01 or 0x00)
end

msg:sendToPlayer(self)
Expand Down

0 comments on commit 36523f8

Please sign in to comment.