diff --git a/struct.inc.php b/struct.inc.php index 0ec2b0d..6d2378a 100644 --- a/struct.inc.php +++ b/struct.inc.php @@ -28,10 +28,10 @@ class mtgMetaStruct extends mtgUserType if(is_null($this->crc_class_id)) { - if($this->scope != null) + if($this->scope != null && !($this->scope instanceof mtgMetaParsedModule)) $this->crc_class_id = crc32($this->getFullName()); else - //TODO: migrate to crc32 from crc28 + //TODO: stop using crc28, use crc32 $this->crc_class_id = crc32($this->name) & 0xFFFFFFF; }