keep hollywoo methods in dce

This commit is contained in:
2023-07-17 13:11:00 -06:00
parent 35a185b223
commit 1dd62e4872
2 changed files with 2 additions and 1 deletions

View File

@@ -51,6 +51,7 @@
,exp
})]
`{
@:keep
(method doPreload [:Void->Void cc]
(director.showTitleCard ["LOADING"]
(makeCC

View File

@@ -421,7 +421,7 @@
(b.callSymbol "catch" [(b.list [(b.symbol "e")]) (b.callSymbol "b.symbol" [(b.str "null")])])
]))))]
(if ,canSkip methodCall (b.callSymbol "noSkip" [methodCall]))))
(#unless subclass (method ,nameAndType ,argList ,@body))
(#unless subclass @:keep (method ,nameAndType ,argList ,@body))
}))
(hollywooMethod :Void hideCustomDialog true [:Continuation cc]