Fix foundations changing entity limits. Fixes #2536
This was SVN commit r15123.
This commit is contained in:
parent
19ca1e3ebf
commit
cbeb40a14b
@ -154,6 +154,10 @@ EntityLimits.prototype.OnGlobalOwnershipChanged = function(msg)
|
||||
var cmpIdentity = Engine.QueryInterface(msg.entity, IID_Identity);
|
||||
if (!cmpIdentity)
|
||||
return;
|
||||
// foundations shouldn't change the entity limits until they're completed
|
||||
var cmpFoundation = Engine.QueryInterface(msg.entity, IID_Foundation);
|
||||
if (cmpFoundation)
|
||||
return;
|
||||
var classes = cmpIdentity.GetClassesList();
|
||||
for (var category in this.changers)
|
||||
for (var c in this.changers[category])
|
||||
|
Loading…
Reference in New Issue
Block a user