Skip to content

Commit eb7d824

Browse files
committed
Fix crash on multiplayer menu open in SOC (#392)
1 parent 173325b commit eb7d824

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/xrGame/ui/UIWindow_script.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,11 @@ SCRIPT_EXPORT(EnumGameIDs, (),
201201
.enum_("gametype")
202202
[
203203
value("GAME_UNKNOWN", int(-1)),
204+
// SOC IDs
205+
value("GAME_DEATHMATCH", int(eGameIDDeathmatch)),
206+
value("GAME_TEAMDEATHMATCH", int(eGameIDTeamDeathmatch)),
207+
value("GAME_ARTEFACTHUNT", int(eGameIDArtefactHunt)),
208+
// CS/COP ids
204209
value("eGameIDDeathmatch", int(eGameIDDeathmatch)),
205210
value("eGameIDTeamDeathmatch", int(eGameIDTeamDeathmatch)),
206211
value("eGameIDArtefactHunt", int(eGameIDArtefactHunt)),

0 commit comments

Comments
 (0)