ruffle-rs / ruffle

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

AS2 nextFrame: Broken medals #18169

Open waspennator opened 3 weeks ago

waspennator commented 3 weeks 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 2 weeks 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"