mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-19 23:00:25 +02:00
Fixed teamwin not working on TOW and Liberation
This commit is contained in:
1 file changed
+1
-1
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user