Fixed an issue where the Pitspeed method wasn't checking the right flag

This commit is contained in:
2026-07-06 23:13:14 +01:00
parent 245d6ac0e1
commit f1728c11da
+1 -1
View File
@@ -143,7 +143,7 @@ func (sdk *BeamNGSDK) Handbrake() bool {
// false if the pit speed limiter is off
// NOTE: this may not be used in BeamNG.drive, haven't checked yet
func (sdk *BeamNGSDK) Pitspeed() bool {
return sdk.Data.ShowLights&DL_HANDBRAKE != 0
return sdk.Data.ShowLights&DL_PITSPEED != 0
}
// TractionControl returns: