mirror of
https://github.com/Relintai/broken_seals.git
synced 2025-01-25 14:19:19 +01:00
Fix variable transforms inside methods.
This commit is contained in:
parent
e28b7cfb82
commit
2eb04ef96f
@ -382,7 +382,15 @@ class GDSScope:
|
|||||||
s += indents + l + ";\n"
|
s += indents + l + ";\n"
|
||||||
continue
|
continue
|
||||||
|
|
||||||
s += indents + l + ";\n"
|
if l.begins_with("var "):
|
||||||
|
if l.find("preload") != -1:
|
||||||
|
s += indents + "//" + l + ";\n"
|
||||||
|
continue
|
||||||
|
|
||||||
|
s += indents + " " + transform_variable_to_cpp(l) + ";\n"
|
||||||
|
else:
|
||||||
|
s += indents + l + ";\n"
|
||||||
|
|
||||||
s += "}\n"
|
s += "}\n"
|
||||||
|
|
||||||
return s
|
return s
|
||||||
|
Loading…
Reference in New Issue
Block a user