Skip to content

Commit

Permalink
Added missing ballast and restrictor to ini.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kugelschieber committed Dec 18, 2018
1 parent bf711b1 commit 438a811
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion instance/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ func EntryListToIniString(config *model.Configuration) string {
ini += "DRIVERNAME=" + car.Driver + sep
ini += "TEAM=" + car.Team + sep
ini += "GUID=" + car.GUID + sep
ini += "BALLAST=0" + sep
ini += "BALLAST=" + intToStr(car.Ballast) + sep
ini += "RESTRICTOR=" + intToStr(car.Restrictor) + sep
ini += "FIXED_SETUP=" + car.FixedSetup + sep
ini += sep
}
Expand Down

0 comments on commit 438a811

Please sign in to comment.