Skip to content
Snippets Groups Projects
Commit 310a0724 authored by brickode's avatar brickode
Browse files

Replaced AS_ID with V.missingParentID

parent bb28a9f8
No related branches found
No related tags found
No related merge requests found
...@@ -152,7 +152,7 @@ globalThis.removeSlave = function(slave) { ...@@ -152,7 +152,7 @@ globalThis.removeSlave = function(slave) {
if (V.traitor.origBodyOwnerID === AS_ID) { if (V.traitor.origBodyOwnerID === AS_ID) {
V.traitor.origBodyOwnerID = 0; V.traitor.origBodyOwnerID = 0;
} }
if (V.traitor.partners.has(AS_ID)) { if (V.traitor.partners.has(V.missingParentID)) {
V.traitor.partners.delete(V.missingParentID); V.traitor.partners.delete(V.missingParentID);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment