Lightning rod LightningRodRadius* Properties are not respected in block check

Merii shared this bug 2 years ago
Reported

So as one does, to gain understanding of how the game works I'm investigating the lightning code for the game. I found a bug in it.

In Sandbox.Game.SessionComponents.MySectorWeatherComponent in Sandbox.Game.dll, the lightning rod radius is hardcoded to 50 in the block check portion (after the entity checks have failed), for decoys, but not antennas. I've attached a screenshot of the disassembly and circled the incorrect check.


/d3c3c535e5b6472e7822a18dc9191989

Replies (1)

photo
1

Hello, Merii,

thanks for sharing this issue with us. It was reported into our internal system. I will let you know about any progress on this.

Kind Regards

Keen Software House: QA Department

Leave a Comment
 
Attach a file