Skip to content

Commit

Permalink
Lua code format - (Stylua)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 9, 2024
1 parent 11038b1 commit b1d024a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data-otservbr-global/migrations/44.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ function onUpdateDatabase()
if resultId then
repeat
for i = 1, 200 do
local key = mountRange + ((i-1) / 31)
local key = mountRange + ((i - 1) / 31)
if key == Result.getNumber(resultId, "key") then
local playerId = Result.getNumber(resultId, "player_id")
local lshift = bit.lshift(1, ((i-1) % 31))
local lshift = bit.lshift(1, ((i - 1) % 31))
local mount = bit.band(lshift, Result.getNumber(resultId, "value"))

if mount ~= 0 then
Expand Down

0 comments on commit b1d024a

Please sign in to comment.