sjdodge123 / spaceroyale.io

Multiplayer Javacsript IO game
Apache License 2.0
2 stars 0 forks source link

AI Cleanup Issue #147

Open sjdodge123 opened 6 years ago

sjdodge123 commented 6 years ago

I appears as though the AI on the server are never cleaned up properly.

I want to do some more looking into this issue, but I believe the AI are calling the update function of the ships even if the ship they are controlling is dead. I don't think this has any game breaking effects, but may be causing some additional issues around the system.

One thing that has been observed that may be related is that AI's Health will go into the infinite negative on the 2nd or 3rd round of playing without a refresh. That could be a client issue, but it should probably be addressed before BETA