()
| 37 | } |
| 38 | |
| 39 | override async revert(): Promise<void> { |
| 40 | const last = this.engine.history('clear').pop(); |
| 41 | |
| 42 | if (last === 'nvl') { |
| 43 | this.engine.global('_should_restore_nvl', true); |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | override async didRevert(): Promise<ActionRevertResult> { |
| 48 | return { advance: true, step: true }; |