GP-0 fixed tests related to clear with options change

This commit is contained in:
ghidragon 2024-12-10 11:38:58 -05:00
parent 60468b0fe2
commit 14a1164f4a

View file

@ -77,10 +77,10 @@ public class ClearCmd extends BackgroundCommand<Program> {
this.options = options;
this.sendIndividualEvents = sendIndividualEvents;
if (options == null) {
options = new ClearOptions(false);
options.setShouldClear(INSTRUCTIONS, true);
options.setShouldClear(DATA, true);
if (this.options == null) {
this.options = new ClearOptions(false);
this.options.setShouldClear(INSTRUCTIONS, true);
this.options.setShouldClear(DATA, true);
}
}