From c2600b2c8eccae9c999c6cc8693a0ebdd78544d4 Mon Sep 17 00:00:00 2001 From: Mistium <92952823+Mistium@users.noreply.github.com> Date: Fri, 17 May 2024 11:06:33 +0100 Subject: [PATCH] Update OASM.js --- featured/OASM.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/featured/OASM.js b/featured/OASM.js index 4f76c95..3760bf4 100644 --- a/featured/OASM.js +++ b/featured/OASM.js @@ -521,6 +521,12 @@ this.spl[1] = this.spl[0]; this.spl[0] = 'modv'; break; + case '-': + this.spl[0] = '' + break; + case '': + this.spl[0] = '' + break; default: if (this.spl[0][0] === ':') { this.spl[1] = this.spl[0]; @@ -532,8 +538,9 @@ } break; } - - OUT.push(this.spl.join(' ')); + if (this.spl[0] !== '') { + OUT.push(this.spl.join(' ')); + } } OUT = prep.concat(OUT) if (errors.length > 0) {