update slots multispin to actually work (#42)

update slots multispin to actually work
This commit is contained in:
alogindtractor
2026-01-11 20:39:56 -08:00
committed by GitHub
parent 56817cf471
commit cf45a14eff

View File

@@ -323,6 +323,8 @@ public class SlotsCommand : ICommand
} }
public void ExecuteGameLoop(int spins, int featureSpins = 0) public void ExecuteGameLoop(int spins, int featureSpins = 0)
{
for (int sp = 0; sp < spins; sp++)
{ {
GeneratePreBoard(featureSpins); GeneratePreBoard(featureSpins);
var fCount = 0; var fCount = 0;
@@ -339,6 +341,7 @@ public class SlotsCommand : ICommand
var total = _activeFeatureTier switch { 3 => 3, 4 => 5, 5 => 10, _ => 0 }; var total = _activeFeatureTier switch { 3 => 3, 4 => 5, 5 => 10, _ => 0 };
if (featureSpins == 0) for (var s = 1; s <= total; s++) ExecuteGameLoop(1,s); if (featureSpins == 0) for (var s = 1; s <= total; s++) ExecuteGameLoop(1,s);
} }
}
private void ProcessReelsAndWins() private void ProcessReelsAndWins()
{ {