Fixed teamwin not working on TOW and Liberation

This commit is contained in:
smallmodel committed 2023-11-13 18:21:08 +01:00
1 parent 42ebfd5394
commit a7301ed7b6
1 file changed
+1 -1
+1 -1
View File
@@ -4110,7 +4110,7 @@ void ScriptThread::EventTeamWin(Event *ev)
const_str team;
int teamnum;
if (g_gametype->integer != GT_OBJECTIVE) {
if (g_gametype->integer < GT_OBJECTIVE) {
throw ScriptException("'teamwin' only valid for objective-based DM games");
}