Skip to content

Commit

Permalink
better handling of MonDKPCurTeam comm on msg received
Browse files Browse the repository at this point in the history
  • Loading branch information
Taidtuskecyh authored and Taidtuskecyh committed Jun 5, 2020
1 parent 04ade33 commit eae6ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/comm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function MonDKP.Sync:OnCommReceived(prefix, message, distribution, sender)
end
return;
elseif prefix == "MonDKPCurTeam" then
core.DB.defaults.CurrentTeam = message;
MonDKP:SetCurrentTeam(message) -- this also refreshes all the tables/views/graphs
return
elseif prefix == "MonDKPTalents" then
local search = MonDKP:Table_Search(MonDKP:GetTable(MonDKP_DKPTable, true), sender, "player")
Expand Down

0 comments on commit eae6ca2

Please sign in to comment.