Core/Scripts: Fixed crash on shutdown

This commit is contained in:
Shauren
2012-12-17 11:44:41 +01:00
parent 5a52acbe40
commit 7be13b6fda
2 changed files with 6 additions and 5 deletions

View File

@@ -396,7 +396,7 @@ class UnitScript : public ScriptObject
{
protected:
UnitScript(const char* name);
UnitScript(const char* name, bool addToScripts = true);
public:
// Called when DoT's Tick Damage is being Dealt