KomradeSpectre / AetheriumMod

A mod for Risk of Rain 2.
10 stars 10 forks source link

Safe check in Inspiring Drone for Clients, and more. Check commits. #24

Closed cheeeeeeeeeen closed 3 years ago

cheeeeeeeeeen commented 4 years ago

Add a safe check of reassigning bodies when they're lost. The client seems to have bad data in real multiplayer scenarios where ping would go beyond 150-ish.

cheeeeeeeeeen commented 4 years ago

Add more code improvements found.

@KomradeSpectre I suggest installing the NuGet package Microsoft.Unity.Analyzers since this one really checks Unity code mistakes especially with those crazy null checks.

KomradeSpectre commented 3 years ago

Implemented