[0.12.4][O] Chart Map "Specified surface doesn't have chart"
Posted: Tue Aug 18, 2015 7:50 pm
Screenshot
So i've been making a custom scenario, and i want each force to chart the map. So it seems i cannot chart for a force if the force has no players, whether i call it with the surface name or player.surface. this is some of the code i have been using to chart the map:Code: Select all
function chart_map()
game.forces.blue.chart(game.players[1].surface,{{-200, -300}, {200, 300}})
game.forces.red.chart(game.surfaces["nauvis"],{{-200, -300}, {200, 300}}) --trying both methods, both results in error
end
Sucessful using console
Either im doing something wrong or it is a bug