Ticket #4323: 4323_endless.patch

File 4323_endless.patch, 592 bytes (added by Vladislav Belov, 7 years ago)

Nobody should win if it's the endless game

  • binaries/data/mods/public/simulation/components/EndGameManager.js

     
    8383
    8484EndGameManager.prototype.AlliedVictoryCheck = function()
    8585{
    86     if (this.skipAlliedVictoryCheck)
     86    if (this.skipAlliedVictoryCheck || this.gameType == "endless")
    8787        return;
    8888
    8989    let cmpGuiInterface = Engine.QueryInterface(SYSTEM_ENTITY, IID_GuiInterface);