Ticket #3058: 3058.1.diff

File 3058.1.diff, 737 bytes (added by Stan, 9 years ago)

That patch fixes it for me. I believe the bug had to do with modification on gaia id.

  • binaries/data/mods/public/maps/random/islands.js

     
    217217    //create docks
    218218    var dockLocation = getTIPIADBON([ix, iz], [mapSize / 2, mapSize / 2], [-3 , 2.6], 0.5, 3);
    219219    if (dockLocation !== undefined)
    220         placeObject(dockLocation[0], dockLocation[1], "structures/" + g_MapSettings.PlayerData[id-1].Civ + "_dock", id, playerAngle[i] + PI);
     220        placeObject(dockLocation[0], dockLocation[1], "structures/" + g_MapSettings.PlayerData[id].Civ + "_dock", id, playerAngle[i] + PI);
    221221}
    222222
    223223var landAreas = [];