SMUnlimited / AMAI

Advanced Melee Artificial Intelligence Mod For Warcraft 3
Other
210 stars 34 forks source link

(devtool)ForwardsCompat only Compat UD? other race no need ? #408

Closed jzy-chitong56 closed 1 week ago

jzy-chitong56 commented 1 week ago

https://github.com/SMUnlimited/AMAI/blob/64da1a16e678072e39034b1e2fdba79ca66940c5/ForwardsCompat.bat#L82

pjass %VER%\common.j Scripts\%VER%\common.ai
if "%errorlevel%"=="1" SET RESULTFWCOMPAT=1
pjass %VER%\common.j Scripts\%VER%\common.ai Scripts\%VER%\undead.ai
if "%errorlevel%"=="1" SET RESULTFWCOMPAT=1
jassparser %VER%\common.j Scripts\%VER%\common.ai Scripts\%VER%\undead.ai
if "%errorlevel%"=="1" SET RESULTFWCOMPAT=1
pjass %VER%\common.j Scripts\%VER%\Blizzard.j
if "%errorlevel%"=="1" SET RESULTFWCOMPAT=1
jassparser %VER%\common.j Scripts\%VER%\Blizzard.j
if "%errorlevel%"=="1" SET RESULTFWCOMPAT=1
pjass %VER%\common.j Scripts\%VER%\Blizzard_VSAI.j
if "%errorlevel%"=="1" SET RESULTFWCOMPAT=1
jassparser %VER%\common.j Scripts\%VER%\Blizzard_VSAI.j
if "%errorlevel%"=="1" SET RESULTFWCOMPAT=1
if "%RESULTFWCOMPAT%"=="1" (
  ECHO Apply forwards compatability %VER% scripts error
  exit /b %RESULTFWCOMPAT%
) else (
SMUnlimited commented 1 week ago

Not sure what happened there, pretty sure i just cloned your file across. But its clearly deleted a random section of changes.