mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 07:05:35 +00:00
Use IDs for standard components instead of [class][rating]. Update tests accordingly
This commit is contained in:
@@ -295,7 +295,7 @@ export default class Ship {
|
||||
getStandardString() {
|
||||
if(!this.serialized.standard) {
|
||||
this.serialized.standard = this.bulkheads.m.index + this.standard.reduce((arr, slot, i) => {
|
||||
arr[i] = slot.m ? slot.m.class + slot.m.rating : '-';
|
||||
arr[i] = slot.m ? slot.m.id : '-';
|
||||
return arr;
|
||||
}, new Array(this.standard.length)).join('');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user