[0.13.0] result_units contents incorrect

This subforum contains all the issues which we already resolved.
Post Reply
sparr
Smart Inserter
Smart Inserter
Posts: 1327
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

[0.13.0] result_units contents incorrect

Post by sparr »

Code: Select all

for k,v in pairs(game.entity_prototypes["biter-spawner"].result_units[1].spawn_points) do game.player.print(k..' '..v) end
this prints one evolution factor and one weight.

spawn_points should be an array with numeric keys and values that are themselves tables, per http://lua-api.factorio.com/0.13.0/LuaE ... sult_units

however, it looks like what's happened is that spawn_points actually contains what should be in spawn_points[1] and the other points aren't accessible.

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

Re: [0.13.0] result_units contents incorrect

Post by Rseding91 »

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

Post Reply

Return to “Resolved Problems and Bugs”