addparamsaver function

This commit is contained in:
Zeno Rogue 2020-12-31 02:42:00 +01:00
parent cec8a40786
commit 2835cd522a
1 changed files with 10 additions and 0 deletions

View File

@ -144,6 +144,16 @@ void addparam(ld& val, const string s) {
}
#endif
EX void addparamsaver(ld& val, const string s) {
addparam(val, s);
addsaver(val, s);
}
EX void addparamsaver(ld& val, const string p, const string s) {
addparam(val, p);
addsaver(val, s);
}
EX ld bounded_mine_percentage = 0.1;
EX int bounded_mine_quantity, bounded_mine_max;