[0.14.8] game.take_screenshot's by_player parameter

This subforum contains all the issues which we already resolved.
Post Reply
credomane
Filter Inserter
Filter Inserter
Posts: 278
Joined: Tue Apr 12, 2016 6:21 pm
Contact:

[0.14.8] game.take_screenshot's by_player parameter

Post by credomane »

game.take_screenshot's by_player parameter no longer works with a player index. Instead throws an "invalid player specification" error.

According to the documentation a player index is supported and it was working correctly in 0.13 when the parameter was first introduced.

Pretend the required parts are there.

Code: Select all

game.take_screenshot({by_player=game.players[1]}) -- works [LuaPlayer]
game.take_screenshot({by_player=game.players[1].name}) -- works [string]
game.take_screenshot({by_player=game.players[1].index}) -- fails [number]
game.take_screenshot({by_player=1}) -- fails [number]

Rseding91
Factorio Staff
Factorio Staff
Posts: 13175
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.14.8] game.take_screenshot's by_player parameter

Post by Rseding91 »

Fixed for 0.14.9.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”