Skip to content

Commit

Permalink
Fix crash on multiplayer menu open in SOC (#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Apr 14, 2023
1 parent 173325b commit eb7d824
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/xrGame/ui/UIWindow_script.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,11 @@ SCRIPT_EXPORT(EnumGameIDs, (),
.enum_("gametype")
[
value("GAME_UNKNOWN", int(-1)),
// SOC IDs
value("GAME_DEATHMATCH", int(eGameIDDeathmatch)),
value("GAME_TEAMDEATHMATCH", int(eGameIDTeamDeathmatch)),
value("GAME_ARTEFACTHUNT", int(eGameIDArtefactHunt)),
// CS/COP ids
value("eGameIDDeathmatch", int(eGameIDDeathmatch)),
value("eGameIDTeamDeathmatch", int(eGameIDTeamDeathmatch)),
value("eGameIDArtefactHunt", int(eGameIDArtefactHunt)),
Expand Down

0 comments on commit eb7d824

Please sign in to comment.