Commit 92ed828
committed
Support players not having a played race.
Some custom maps (I'm looking at you 1v1 Obs of the Day) seem to
give players None for race type attribute in game. Map that missing
race to a python None variable instead of crashing with a KeyError.1 parent 4fa036f commit 92ed828
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
965 | 965 | | |
966 | 966 | | |
967 | 967 | | |
968 | | - | |
| 968 | + | |
969 | 969 | | |
970 | 970 | | |
971 | 971 | | |
| |||
0 commit comments