From 28d2beb53ff119de1cc1bc50998074746c392b72 Mon Sep 17 00:00:00 2001 From: elexis Date: Sun, 5 Nov 2017 11:06:26 +0000 Subject: [PATCH] Fix wrong dock owner (off-by-1) in Migration in rP20301, fixes #4837. git-svn-id: https://svn.wildfiregames.com/public/ps/trunk@20408 3db68df2-c116-0410-a063-a993310a9797 --- binaries/data/mods/public/maps/random/migration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binaries/data/mods/public/maps/random/migration.js b/binaries/data/mods/public/maps/random/migration.js index 20a711016a..8b74b096c3 100644 --- a/binaries/data/mods/public/maps/random/migration.js +++ b/binaries/data/mods/public/maps/random/migration.js @@ -183,7 +183,7 @@ for (var i = 0; i < numPlayers; i++) dockLocation[0], dockLocation[1], "structures/" + getCivCode(playerIDs[i] - 1) + "_dock", - playerIDs[i] - 1, + playerIDs[i], playerAngle[i] + Math.PI); } RMS.SetProgress(15); -- 2.11.4.GIT