Skip to content

Commit

Permalink
Fix the Achievements
Browse files Browse the repository at this point in the history
  • Loading branch information
dabao40 committed Dec 29, 2024
1 parent 0b40efe commit 94e0ff8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions TheOtherRoles/Buttons.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2287,7 +2287,7 @@ public static void createButtonsPostfix(HudManager __instance) {
AmongUsClient.Instance.FinishRpcImmediately(writer);
BomberA.bombTarget = BomberA.tmpTarget;
}
_ = new StaticAchievementToken("bomberA.common1");
_ = new StaticAchievementToken("bomber.common1");
BomberA.tmpTarget = null;
bomberAPlantBombButton.Timer = bomberAPlantBombButton.MaxTimer;
SoundEffectsManager.play("bomberPlantBomb");
Expand Down Expand Up @@ -2349,7 +2349,7 @@ public static void createButtonsPostfix(HudManager __instance) {
AmongUsClient.Instance.FinishRpcImmediately(writer);
BomberB.bombTarget = BomberB.tmpTarget;
}
_ = new StaticAchievementToken("bomberA.common1");
_ = new StaticAchievementToken("bomber.common1");
BomberB.tmpTarget = null;
bomberBPlantBombButton.Timer = bomberBPlantBombButton.MaxTimer;
SoundEffectsManager.play("bomberPlantBomb");
Expand Down Expand Up @@ -2382,7 +2382,7 @@ public static void createButtonsPostfix(HudManager __instance) {
AmongUsClient.Instance.FinishRpcImmediately(writer);
RPCProcedure.releaseBomb(CachedPlayer.LocalPlayer.PlayerControl.PlayerId, target.PlayerId);
}
_ = new StaticAchievementToken("bomberA.challenge");
_ = new StaticAchievementToken("bomber.challenge");
}
else if (attempt == MurderAttemptResult.BlankKill)
{
Expand Down Expand Up @@ -2435,7 +2435,7 @@ public static void createButtonsPostfix(HudManager __instance) {
AmongUsClient.Instance.FinishRpcImmediately(writer);
RPCProcedure.releaseBomb(CachedPlayer.LocalPlayer.PlayerControl.PlayerId, target.PlayerId);
}
_ = new StaticAchievementToken("bomberA.challenge");
_ = new StaticAchievementToken("bomber.challenge");
}
else if (attempt == MurderAttemptResult.BlankKill)
{
Expand Down

0 comments on commit 94e0ff8

Please sign in to comment.