Bizorke / Gear3Engine-Issues

For bugs and features.
1 stars 0 forks source link

Dead man's gun (possible bug). #1196

Closed JSideris closed 2 years ago

JSideris commented 3 years ago

Test the following case:

  1. Projectile is fired, and is assigned an owner (the one who shoots it).
  2. Owner dies and disconnects. Controller is removed from server.
  3. Projectile collides with an enemy and kills them.
  4. Nothing should break.

It's possible that by the time the damage is dealt, the owner of that damage might not exist. This could crash the server.

JSideris commented 2 years ago

This is now redundant due to the new inputs interface. All of the base code was rewritten.