diff --git a/module/Sqrat/sqratClass.h b/module/Sqrat/sqratClass.h index 9010d07a..70ff92fc 100644 --- a/module/Sqrat/sqratClass.h +++ b/module/Sqrat/sqratClass.h @@ -977,7 +977,7 @@ public: ClassData* cd = *ud; //if (ClassType::getStaticClassData()->Expired()) { - if (ClassType::getStaticClassData()) { + if (!ClassType::getStaticClassData()) { cd->staticData.Init(new StaticClassData); cd->staticData->copyFunc = &A::Copy; cd->staticData->className = string(className);