Zervox
Silver Supporter
|
Game::World.del() calling save.
this behaviour seem to be a bug.
When using Game::World.del() after having a world loaded, it automatically calls the Game::World.save() on all objects, I wouldn't expect a world I told to delete to save without me actually telling it by calling Game::World.save(file);
|
|
07-24-2013 04:12 AM |
|
dylantan
Member
|
RE: [Bug]Game::World.del() calling save.
Hi Esenthel, would you have any idea on how we could solve this issues that Zervox mentioned above? Its something really urgent for us and we having the same issues which you can see on the following thread: http://www.esenthel.com/community/showth...p?tid=6669
Appreciate it sir if you could help us on this issues. Thanks in advance
(This post was last modified: 07-28-2013 10:09 AM by dylantan.)
|
|
07-28-2013 07:21 AM |
|
Esenthel
Administrator
|
RE: [Bug]Game::World.del() calling save.
Hi, that's not a bug, it's made on purpose, for example if your world is dynamic (like in Ineisis) then when releasing the world, all changes to the areas must be flushed to the disk, hence all areas and objects have 'save' called on world deletion.
|
|
08-15-2013 09:42 PM |
|
Zervox
Silver Supporter
|
RE: Game::World.del() calling save.
My question then would still be why, this should atleast be possible to disable when you use projects which has static worlds.
|
|
08-16-2013 05:25 AM |
|
MrPi
Member
|
RE: Game::World.del() calling save.
I agree with Zervox here. It should be made optional whether save is called or not. A simple boolean argument for del() should suffice.
|
|
09-11-2013 04:25 PM |
|