fugasjunior / arma-server-manager

A web administration tool for managing Arma 3, Arma Reforger and DayZ dedicated servers
GNU General Public License v3.0
52 stars 11 forks source link

Launch parameters not being persisted #115

Open fugasjunior opened 4 months ago

fugasjunior commented 4 months ago

When the user types in a custom launch parameter but doesn't press enter to parse and save it into the field, it is not persisted in the database.

Steps to reproduce: 1) Create a new server of any type 2) In the "Custom launch parameters" field, type -maxFPS 60, but don't press enter. 3) Click "Submit" 4) View the server settings

Expected result: -maxFPS 60 is present in "Custom launch parameters" field

Actual result: The "Custom launch parameters" field is empty

Possible solution: Parse and save the parameter on form submit if it's still being edited.