Page MenuHomeFeedback Tracker

Dynzmic Objects not delete from map in scripton server shutdown
New, NormalPublic

Description

I creating dynamic objects at server starts in class constructor.
If i delete dynamic objects in class destructor, and server correctly shutdown, many objects not deletes from database and after next start placed on the map...

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7 x64
Operating System Version
Windows Server 2008 R2
Category
Scripting
Steps To Reproduce

Class MyClass
{
EntityAI myobject;

void MyClass()
{

myobject = EntitAI.Cast(GetGame().CreateObject("class name", position));

}
void ~MyClass()
{

myobject.Delete();

}

}

Event Timeline