mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-05-03 11:04:04 +00:00
When exiting a race, LegoRace::Create stashes the UserActor and sets it to NULL. The destructor restores it, but runs later than OnWorldEnabled, so NotifyPlayerCountChanged sees a NULL UserActor and doesn't count the local player. Fall back to GameState::GetActorId() which is restored earlier (in LegoRace::Enable(FALSE)). |
||
|---|---|---|
| .. | ||
| include/extensions | ||
| src | ||