mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-23 05:00:27 +02:00
Fixed TeamWin with the axis team
This commit is contained in:
1 file changed
+1
-1
@@ -4098,7 +4098,7 @@ void ScriptThread::EventTeamWin(Event *ev)
|
||||
team = ev->GetConstString(1);
|
||||
if (team == STRING_ALLIES) {
|
||||
teamnum = TEAM_ALLIES;
|
||||
} else if (team == TEAM_AXIS) {
|
||||
} else if (team == STRING_AXIS) {
|
||||
teamnum = TEAM_AXIS;
|
||||
} else {
|
||||
throw ScriptException("'teamwin' must be called with 'axis' or 'allies' as its argument");
|
||||
|
||||
Reference in new issue
Block a user