mirror of
https://github.com/DragonMinded/bemaniutils.git
synced 2026-09-09 10:55:13 -05:00
Fix massive bug which dropped function calls without returns from the finished output.
This commit is contained in:
@@ -2548,7 +2548,7 @@ class ByteCodeDecompiler(VerboseOutput):
|
||||
# This is a discard. Let's see if its discarding a function or method
|
||||
# call. If so, that means the return doesn't matter.
|
||||
discard = stack.pop()
|
||||
if isinstance(discard, MethodCall):
|
||||
if isinstance(discard, (FunctionCall, MethodCall)):
|
||||
# It is! Let's act on the statement.
|
||||
chunk.actions[i] = ExpressionStatement(discard)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user