obscurelyme / CoffeeMaker

A warm and fuzzy 2D Game Engine
GNU Lesser General Public License v2.1
7 stars 0 forks source link

Bugfix/player destroyed multi times #58

Closed obscurelyme closed 2 years ago

obscurelyme commented 2 years ago

This PR fixes the player class's duplicate logging that was discovered. This was due to multiple instances of Player being created in separate scenes. From now on, the game will log an error and shut down if multiple Player instances are created.