mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-19 18:44:05 +00:00
load_from on float also sets the current value
This commit is contained in:
@@ -313,7 +313,9 @@ void bool_setting::add_as_saver() {
|
||||
}
|
||||
|
||||
void float_setting::load_from(const string& s) {
|
||||
*value = parseld(s);
|
||||
anims::animate_parameter(*value, s, reaction);
|
||||
if(reaction) reaction();
|
||||
}
|
||||
|
||||
void non_editable() {
|
||||
|
Reference in New Issue
Block a user