mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 13:50:46 +00:00
Fixed: #2329 AS3 direct editation - Breaks inside switches
This commit is contained in:
+2
-2
@@ -2822,8 +2822,8 @@ public class AVM2SourceGenerator implements SourceGenerator {
|
||||
forwardJump.operands[0] = insToBytes(bodies).length;
|
||||
ret.addAll(bodies);
|
||||
ret.addAll(cases);
|
||||
ret.add(lookupOp);
|
||||
fixSwitch(toInsList(ret), insToBytes(toInsList(ret)).length, uniqLast);
|
||||
ret.add(lookupOp);
|
||||
fixSwitch(toInsList(ret), insToBytes(toInsList(ret)).length, item.loop.id);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user