[Rseding91] [1.0.0] on_player_built_tile event has wrong tile for (refined-)hazard-concrete-right

This subforum contains all the issues which we already resolved.
grilledham
Inserter
Inserter
Posts: 23
Joined: Tue Sep 25, 2018 9:32 pm
Contact:

[Rseding91] [1.0.0] on_player_built_tile event has wrong tile for (refined-)hazard-concrete-right

Post by grilledham »

The following prints 'hazard-concrete-left' when building both left and right hazard concrete.

Code: Select all

script.on_event(
    defines.events.on_player_built_tile,
    function(event)
        game.print(event.tile.name)
    end
)
Rseding91
Factorio Staff
Factorio Staff
Posts: 14356
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.0.0] on_player_built_tile event has wrong tile for (refined-)hazard-concrete-right

Post by Rseding91 »

Thanks for the report however that's correct: the same item is used for both types of concrete.
If you want to get ahold of me I'm almost always on Discord.
grilledham
Inserter
Inserter
Posts: 23
Joined: Tue Sep 25, 2018 9:32 pm
Contact:

Re: [1.0.0] on_player_built_tile event has wrong tile for (refined-)hazard-concrete-right

Post by grilledham »

I would expect event.item to be the same for both left and right variants, but not event.tile?
Rseding91
Factorio Staff
Factorio Staff
Posts: 14356
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.0.0] on_player_built_tile event has wrong tile for (refined-)hazard-concrete-right

Post by Rseding91 »

You're right; I missed that in your report. It's now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”