mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-29 06:07:57 +03:00
Fixed TeamWin with the axis team
This commit is contained in:
parent
f20b47ebc0
commit
f8d5a5ecd2
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue