소스 검색

Merge pull request #1504 from Areloch/FixMissingParenth

 Fixes missing parentheses that is causing the script to not compile
Brian Roberts 2 달 전
부모
커밋
46bcd183f7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Templates/BaseGame/game/tools/worldEditor/scripts/menuHandlers.ed.tscript

+ 1 - 1
Templates/BaseGame/game/tools/worldEditor/scripts/menuHandlers.ed.tscript

@@ -456,7 +456,7 @@ function EditorAutoSaveMission()
    AssetBackupListArray.empty();
    
    %scenePath = makeFullPath(getRootScene().getFileName());
-   if(startsWith(%scenePath, "tools/levels/")
+   if(startsWith(%scenePath, "tools/levels/"))
       return false;
    
    //Next, we figure out what all we're planning to save