GamerSafer / ablockalypse

MIT License
2 stars 0 forks source link

Hospital locations are acting as spawnpoint locations #5

Closed cafestifflered closed 2 years ago

cafestifflered commented 2 years ago

After a player dies, they sometimes get spawned at a random hospital location. There is only one set spawnpoint, however, and so they should always be respawned back at that spawnpoint.

I believe that the respawn mechanic is looping through the hospital locations as valid spawnpoints, even though they are not.

Double check as well that the hospital spawning mechanic isn't utilizing the spawnpoints as valid hospital location. This would be bad if a player chose their story and then respawned at the spawnpoint.

cafestifflered commented 2 years ago

Pretty sure I fixed this in https://github.com/GamerSafer/ablockalypse/commit/3d169d5458428f1d2c0ff86b951b7e49b45c1d0c

Please review to make sure before closing

michelecoco commented 2 years ago

Looks good to me. Good catch!