[15.10] Script-created ghosts immediately expire

Bugs that are actually features.
User avatar
Earendel
Factorio Staff
Factorio Staff
Posts: 720
Joined: Sun Nov 23, 2014 11:57 am
Contact:

[15.10] Script-created ghosts immediately expire

Post by Earendel »

If using surface.create_entity to create a ghost it will immediately expire unless 'expires' is set to false (i.e. it is made permanent).

Expected behaviour is the new ghost would expire after the default ghost lifetime.
gheift
Fast Inserter
Fast Inserter
Posts: 188
Joined: Tue Mar 03, 2015 9:20 pm
Contact:

Re: [15.10] Script-created ghosts immediately expire

Post by gheift »

I experienced the same problem in the past: viewtopic.php?f=25&t=37619
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [15.10] Script-created ghosts immediately expire

Post by kovarex »

The default ghost lifetime is 0.
User avatar
Earendel
Factorio Staff
Factorio Staff
Posts: 720
Joined: Sun Nov 23, 2014 11:57 am
Contact:

Re: [15.10] Script-created ghosts immediately expire

Post by Earendel »

Previously is you created a ghost with this method it would last for more than 0 seconds.

By default ghost lifetime, I mean the lifetime that a ghost would typically last if created by the player or a blueprint (or permanent if they are now permanent).
Post Reply

Return to “Not a bug”