DDRace / teeworlds

DEPRECATED - Go to https://github.com/ddnet/ddnet instead!
Other
37 stars 15 forks source link

[Bug] tune_reset is not run on map change #235

Open alandball opened 11 years ago

alandball commented 11 years ago

In ddrace it is important to do tune_reset on map change, as there are some maps that run map config with custom tunes to make map work, but then on map change those settings stay causing that map to not work as server has not defaulted the tunes

Take into account also that the map being changed to might have another set of tune settings, so tune_reset should be done before checking and loading the map config(if there is) for map being changed to.

Edit: Did some testing: Ok some settings are reset but others are not. Example player_collision, player_hooking are not reset, but hammer other tee is defaulted, and so is endless hook