axblk / teeworlds

A retro multiplayer shooter
http://teeworlds.com
Other
11 stars 2 forks source link

Server-side handling of auto weapon-switch #26

Closed axblk closed 4 years ago

axblk commented 5 years ago

Needs server and client support.

axblk commented 4 years ago

This would require a protocol extension. https://github.com/teeworlds/teeworlds/pull/2307/commits/a481f3daad7156e29d87ff9b8c322e54a1d0777d allows to permanently set a wanted weapon, so the switch happens immediately when picking up a weapon. This should be sufficient.