opal only bug, deleting while iterating over array
This commit is contained in:
parent
2f409ea4e1
commit
fa552bf751
@ -27,7 +27,7 @@ module Virtual
|
|||||||
function.source.blocks.each do |block|
|
function.source.blocks.each do |block|
|
||||||
block.codes.each do |code|
|
block.codes.each do |code|
|
||||||
if code.is_a? Virtual::MessageSend
|
if code.is_a? Virtual::MessageSend
|
||||||
@gonners.each do |stay|
|
@gonners.dup.each do |stay|
|
||||||
remove stay if(stay.name == code.name)
|
remove stay if(stay.name == code.name)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user