Skip to content

Commit 57b49e7

Browse files
fix multiple rounds module + bump game version
1 parent 5ab166a commit 57b49e7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ModHelperData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ namespace BloonFactory;
22

33
public static class ModHelperData
44
{
5-
public const string WorksOnVersion = "50.1";
5+
public const string WorksOnVersion = "51";
66
public const string Version = "1.0.2";
77
public const string Name = "BloonFactory";
88

Modules/Spawning/MultipleRoundsModule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public override void ProcessModule()
3535
currentRound = GetInputValue<RoundSetModel>("Roundset").rounds[i - 1];
3636

3737
if (modules.Count == 0)
38-
GetInputValue<RoundSetModel>("Roundset").rounds[GetValue<int>("Round") - 1].AddBloonGroup(((BloonTemplate)Template).TemplateId, 1, 0, 1);
38+
GetInputValue<RoundSetModel>("Roundset").rounds[i - 1].AddBloonGroup(((BloonTemplate)Template).TemplateId, 1, 0, 1);
3939
else
4040
modules.ProcessAll();
4141
}

0 commit comments

Comments
 (0)