Skip to content

Commit

Permalink
Update message after rotation reception message
Browse files Browse the repository at this point in the history
  • Loading branch information
Slivo-fr committed May 27, 2021
1 parent 24df938 commit d41ec0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/comms.lua
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ end
function TranqRotate:receiveSyncOrder(prefix, message, channel, sender)

TranqRotate:updateRaidStatus()
TranqRotate:updatePlayerAddonVersion(sender, message.addonVersion)

if (TranqRotate:isVersionEligible(message.version, sender)) then
TranqRotate.syncVersion = (message.version)
Expand All @@ -158,6 +157,8 @@ function TranqRotate:receiveSyncOrder(prefix, message, channel, sender)
TranqRotate:printPrefixedMessage('Received new rotation configuration from ' .. sender)
TranqRotate:applyRotationConfiguration(message.rotation)
end

TranqRotate:updatePlayerAddonVersion(sender, message.addonVersion)
end

-- Request to send current roration configuration received
Expand Down

0 comments on commit d41ec0b

Please sign in to comment.