DeleteActor fix

This commit is contained in:
Tercio Jose
2020-12-16 11:19:20 -03:00
parent bc7df39d6f
commit da6972d1c1
+2 -1
View File
@@ -397,11 +397,12 @@
if (indexToDelete) then
local actorToDelete = self(attribute, actorName)
local actorToDelete2 = container._ActorTable[indexToDelete]
if (actorToDelete ~= actorToDelete2) then
Details:Msg("error 0xDE8745")
end
local index = self._NameIndexTable[actorName]
local index = container._NameIndexTable[actorName]
if (indexToDelete ~= index) then
Details:Msg("error 0xDE8751")
end