Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonyboylovespie committed Oct 16, 2023
1 parent 4fe18a0 commit 0e8b3d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gamemodes/Roguemode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class Roguemode : ModGameMode {

public void ChangeCostModifier(float modifier) {
if (!baseGameModeModel.HasMutator<GlobalCostModModel>()) {
baseGameModeModel.AddMutator(new GlobalCostModModel("costMultiplier", 1f, false));
baseGameModeModel.AddMutator(new GlobalCostModModel("costMultiplier", 1f));
}
baseGameModeModel.GetMutator<GlobalCostModModel>().multiplier = modifier;
}
Expand Down

0 comments on commit 0e8b3d7

Please sign in to comment.