ArmaOverthrow / Overthrow.Arma4

A dynamic and persistent revolution platform for Arma Reforger (and eventually Arma 4)
MIT License
45 stars 17 forks source link

Fix: VM errors from CanBeShownScript #58

Closed rekterakathom closed 1 week ago

rekterakathom commented 3 weeks ago

Component could be NULL here (though it never should), so handle it and prevent the VM errors (NULL pointer to instance).

I believe that a FOB placed using the #56 exploit is required to trigger these VM errors, but I believe the code should handle them even if these errors should be unreachable.

Edit: #56 is in fact not required, and regularly placed FOB's will also throw this error.

I'd like verification that the type for baseController is correct, I am still kinda new to this Enfusion thing.

image