mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 13:07:16 +00:00
fixed some settings incorrectly showing a warning on editing (this also brings back the 'play music when out of focus' option)
This commit is contained in:
parent
22fc90a30e
commit
253bec46cb
@ -152,6 +152,7 @@ struct int_setting : public setting {
|
||||
void show_edit_option(char key) override;
|
||||
cld get_cld() override { return *value; }
|
||||
int_setting *editable(int min_value, int max_value, ld step, string menu_item_name, string help_text, char key) {
|
||||
this->is_editable = true;
|
||||
this->min_value = min_value;
|
||||
this->max_value = max_value;
|
||||
this->menu_item_name = menu_item_name;
|
||||
|
Loading…
Reference in New Issue
Block a user