ruffle-rs / ruffle

A Flash Player emulator written in Rust
https://ruffle.rs
Other
15.78k stars 820 forks source link

AS2 nextFrame: Broken medals #18169

Open waspennator opened 1 month ago

waspennator commented 1 month ago

Describe the bug

Medals don't work

Expected behavior

They should work

Content Location

https://www.newgrounds.com/portal/view/687221?emulate=flash

Affected platform

Browser's extension

Operating system

Android 13

Browser

Chrome 128

Additional information

No response

TomFulp commented 1 month ago

olskoo on NG fixed this file, here is how he fixed it:

"in the unlockMedal function there was:

   if(!com.newgrounds.API.assertConnected())

   {

     return null;

   }

i commented out return null; and the medals worked"