Skip to content

Commit

Permalink
minor bug with full accel
Browse files Browse the repository at this point in the history
  • Loading branch information
lempamo committed Jun 12, 2020
1 parent dd0c4f5 commit d3a1a0c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ChaosMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -852,9 +852,11 @@ public void EffectVehicleExplodePlayer() {

public void EffectVehicleFullAccel() {
foreach (Vehicle v in World.GetAllVehicles()) {
if (v.Exists() & v.isOnAllWheels) {
Game.Console.Print(v.Name);
v.Speed = Speeds[v.Name];
if (v.Exists()) {
if (v.isOnAllWheels) {
Game.Console.Print(v.Name);
v.Speed = Speeds[v.Name];
}
}
}
}
Expand Down

0 comments on commit d3a1a0c

Please sign in to comment.