diff --git a/code/systems/atlas.lua b/code/systems/atlas.lua index 222bda2..dbb9beb 100644 --- a/code/systems/atlas.lua +++ b/code/systems/atlas.lua @@ -259,11 +259,6 @@ local function atlas(assets, batch, ____debug, game, ____bindingPattern0, ____bi self.color.red = 255 self.color.green = 255 self.color.blue = 255 - local parent = self.parent - if parent and parent.remove and parent.attach then - parent:remove(self) - parent:attach(self) - end elseif i == 0 and #inventory == 0 then self.color.red = 63 self.color.green = 63 diff --git a/translate/text/en_US/atlas.lua b/translate/text/en_US/atlas.lua index 84e654c..963cb66 100644 --- a/translate/text/en_US/atlas.lua +++ b/translate/text/en_US/atlas.lua @@ -259,11 +259,6 @@ local function atlas(assets, batch, ____debug, game, ____bindingPattern0, ____bi self.color.red = 255 self.color.green = 255 self.color.blue = 255 - local parent = self.parent - if parent and parent.remove and parent.attach then - parent:remove(self) - parent:attach(self) - end elseif i == 0 and #inventory == 0 then self.color.red = 63 self.color.green = 63 diff --git a/translate/text/zh_CN/atlas.lua b/translate/text/zh_CN/atlas.lua index 222bda2..dbb9beb 100644 --- a/translate/text/zh_CN/atlas.lua +++ b/translate/text/zh_CN/atlas.lua @@ -259,11 +259,6 @@ local function atlas(assets, batch, ____debug, game, ____bindingPattern0, ____bi self.color.red = 255 self.color.green = 255 self.color.blue = 255 - local parent = self.parent - if parent and parent.remove and parent.attach then - parent:remove(self) - parent:attach(self) - end elseif i == 0 and #inventory == 0 then self.color.red = 63 self.color.green = 63