jweigelt / swbf2admin

Star Wars Battlefront II (2005) server management application
GNU General Public License v3.0
51 stars 18 forks source link

Difficulty setting does not save #18

Closed netmasa closed 5 years ago

netmasa commented 5 years ago

Hey all,

I noticed the difficulty setting is always being set to 3 (Elite), this appears to be due to the JS that runs on the page doesn't look at #game_select_difficulty so it ends up using the default property value (which is 3).

Changing web/res/game.js should be enough to fix the issue.

jweigelt commented 5 years ago

Yup, good catch. Fixed in e285fca8ead414678ff8445c79c9e8084452985, thank you for the detailed explanation!