I think I may have identified a problem with either your library or LFS.
I'm writing an InSim application that gives out Stop-Go penalties to players when a certain event is triggered. In the event handler I send the stop go like this:
handler.SendMessage("/p_sg " + PlayerName);
The player receives the Stop-Go correctly in LFS, however in the handler for RaceTrackPlayerPenalty, i.e.,
void handler_RaceTrackPlayerPenalty(InSimHandler sender, RaceTrackPlayerPenalty e)
e.NewPenalty has the value of
Enums.Penalty.StopGoValid instead of
Enums.Penalty.StopGo. Is this correct? I thought that you'd get a
Enums.Penalty.StopGo on receipt of a penalty and
Enums.Penalty.StopGoValid when you complete it.
(When the user then completes their stop go
e.NewPenalty has the value of
Enums.Penalty.StopGoValid as is expected.)