mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
remove useless condition
This commit is contained in:
parent
2fb6081a17
commit
e334e0123c
@ -417,7 +417,7 @@ function Animation.AttachmentTimeline.new ()
|
||||
if attachmentName then
|
||||
if not slot.attachment then
|
||||
slot:setAttachment(skeleton:getAttachment(self.slotName, attachmentName))
|
||||
elseif attachmentName and slot.attachment.name ~= attachmentName then
|
||||
elseif slot.attachment.name ~= attachmentName then
|
||||
slot:setAttachment(skeleton:getAttachment(self.slotName, attachmentName))
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user