Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions props/prop_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -1754,6 +1754,13 @@ class PropBase : CommandParser, protected Looper, protected SaberBase, public Mo
return true;
}

if (!strcmp(cmd, "set_preset_fast") && arg) {
int preset = strtol(arg, NULL, 0);
SaveState(preset);
SetPreset(preset, false);
return true;
}

if (!strcmp(cmd, "change_preset") && arg) {
int preset = strtol(arg, NULL, 0);
if (preset != current_preset_.preset_num) {
Expand Down