IsRegisteredClass
This commit is contained in:
@@ -41,8 +41,8 @@ setmetatable( Def, {
|
|||||||
-- t is an actor definition table. name is the type
|
-- t is an actor definition table. name is the type
|
||||||
-- given to Def. Fill in standard fields.
|
-- given to Def. Fill in standard fields.
|
||||||
return function(t)
|
return function(t)
|
||||||
if not ActorUtil.IsRegisteredType(Type) then
|
if not ActorUtil.IsRegisteredClass(Type) then
|
||||||
error( Type .. " is not a registered type", 2 );
|
error( Type .. " is not a registered actor class", 2 );
|
||||||
end
|
end
|
||||||
|
|
||||||
t.Type = Type;
|
t.Type = Type;
|
||||||
|
|||||||
Reference in New Issue
Block a user