Skip to content

Commit

Permalink
sync tagged builder
Browse files Browse the repository at this point in the history
  • Loading branch information
TerminalHash committed Sep 28, 2024
1 parent fcc9133 commit 712cec4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Modules/CaptainsModule/Commands/PickingCommands.as
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ class TagBuilder : ChatCommand

return (
rules.get_string("team_" + caller_team + "_leader") == player.getUsername()
&& !isPickingEnded() || player.isRCON()
&& !isPickingEnded() || player.isMod()
);
}

Expand All @@ -429,5 +429,6 @@ class TagBuilder : ChatCommand
if (core is null) return;

rules.set_string("team_" + player.getTeamNum() + "_builder", tagged_player.getUsername());
rules.Sync("team_" + player.getTeamNum() + "_builder", true);
}
}

0 comments on commit 712cec4

Please sign in to comment.