diff --git a/code/fgame/scriptthread.cpp b/code/fgame/scriptthread.cpp index c0d51f86..927a1d66 100644 --- a/code/fgame/scriptthread.cpp +++ b/code/fgame/scriptthread.cpp @@ -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"); }