Minor fixes

This commit is contained in:
Deon George
2019-10-09 10:22:38 +11:00
parent 33c3c881ed
commit d31778d7b9
3 changed files with 5 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ function Frame(frame,index) {
this.render=function() {
owner = base64_decode(this.owner);
return owner+' '.repeat(FRAME_HEADER-console.strlen(owner))+'\1n '+
return '\1n'+owner+' '.repeat(FRAME_HEADER-console.strlen(owner))+'\1n '+
'\1W\1H'+this.page+' '.repeat(FRAME_PAGENUM-this.page.length)+' '+
'\1G\1H'+' '.repeat(FRAME_COST-this.cost.toString().length)+this.cost+FRAME_COSTUNIT+
(console.screen_columns > 80 ? '\n\r' : '') +

View File

@@ -88,7 +88,7 @@ function getFrame(page) {
return null;
}
log(LOG_ERROR,'Loaded frame: ['+frame.frame+']['+frame.index+'] ('+frame.page+')');
log(LOG_DEBUG,'Loaded frame: ['+frame.frame+']['+frame.index+'] ('+frame.page+')');
return frame;
}