1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +00:00

load_from on float also sets the current value

This commit is contained in:
Zeno Rogue 2022-12-13 19:05:04 +01:00
parent f61adc2865
commit 39ce564d40

View File

@ -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() {