[0.11.1] Rocket defence in multiplayer
Posted: Sun Nov 09, 2014 5:37 pm
If a player activates the rocket defence, the game crashes with an error about game.player can't be used in multiplayer.
Fix (data/base/scenarios/freeplay/control.lua):
line 69:
line 76:
line 81:
Just replace "game.player" with "player".
Fix (data/base/scenarios/freeplay/control.lua):
line 69:
Code: Select all
local timeleft = player.force.gettimetoland()
Code: Select all
player.setgoaldescription("Time until the fleet lands: " .. string.format("%d:%02d", minutes, seconds), true)
Code: Select all
target=player.character,