MeridiusIX / Modular-Encounters-Systems

Modular Encounters Systems is a Massive NPC Management Framework for the game Space Engineers
55 stars 22 forks source link

Fixed bad NaN comparison with floating point numbers #291

Closed Synirrr closed 8 months ago

Synirrr commented 8 months ago

This resolves an Arithemetic exception that is being caused in the RotationSystem portion of the AutoPilotSystem class. Tested via unit test injection of specific code path and resolves properly to 0.

Synirrr commented 8 months ago

Related to https://github.com/MeridiusIX/Modular-Encounters-Systems/issues/290