Bind native balance planning and restore its saved runtime value (by Codex)
This commit is contained in:
1 parent
256d6d5211
commit
fd5c2b5330
24 files changed
+717
-28
No files matched your search
@@ -10,6 +10,7 @@ bool App::commit_finance(const Json &change, uint64_t revision) {
|
||||
return true;
|
||||
}
|
||||
bool App::finance_action(const std::string &action, Rml::Element *target) {
|
||||
if(engine_mode_)return engine_balance_action(action,target);
|
||||
if (menu_ != "balance") return false;
|
||||
if (action == "balance-toggle") {
|
||||
balance_future_ = !balance_future_;
|
||||
|
||||
Reference in new issue
Block a user