lambdaclass / mirra_backend

Multiplayer 2D physics engine, matchmaking, market and leaderboard for 2D and 3D Games
Apache License 2.0
61 stars 1 forks source link

Fix collisionable entities initialization inside enum reduce. #883

Closed manucamejo closed 1 month ago

manucamejo commented 1 month ago

Also fix typo.

Motivation

Projectiles are hitting once instead of three when you shoot from close.

Summary of changes

Change the initialization of colliding entities.

How to test it?

Shot close of a crate or a player with H4ck. You should hit with all of your projectiles now.

Checklist