[DiscordArchive] <@100246412050075648> why does that even need to run on exit from map?
[DiscordArchive] <@100246412050075648> why does that even need to run on exit from map?
Archived author: Skarn • Posted: 2019-06-10T15:17:19.189000+00:00
Original source
<@100246412050075648> why does that even need to run on exit from map?
Archived author: Skarn • Posted: 2019-06-10T15:17:23.134000+00:00
Original source
we don't save at this point
Archived author: Adspartan • Posted: 2019-06-10T15:18:11.808000+00:00
Original source
it doesn't
Archived author: Skarn • Posted: 2019-06-10T15:18:31.354000+00:00
Original source
should I just remove that call then?
Archived author: Adspartan • Posted: 2019-06-10T15:19:03.660000+00:00
Original source
don't remove it, move it where tiles are unloaded
Archived author: Adspartan • Posted: 2019-06-10T15:20:16.429000+00:00
Original source
being in the destructor means it'll always be called and you don't need to worry where the tiles are unloaded that's why I put it there but since it's an issue change it
Archived author: Skarn • Posted: 2019-06-10T15:20:51.111000+00:00
Original source
MapTile::~MapTile()
{
_world->remove_models_if_needed(uids, index);
}
Archived author: Skarn • Posted: 2019-06-10T15:20:54.516000+00:00
Original source
It is already there?