fix(unit): unit and group id are now of the correct type; added DCS unitId to dead units

This commit is contained in:
MarcoJayUsai
2025-05-30 14:01:00 +02:00
parent 71750c43bd
commit a112ef4aa2
3 changed files with 12 additions and 10 deletions

View File

@@ -618,11 +618,11 @@ export abstract class Unit extends CustomMarker {
this.#callsign = dataExtractor.extractString();
break;
case DataIndexes.unitID:
this.#unitID = dataExtractor.extractUInt8();
this.#unitID = dataExtractor.extractUInt32();
updateMarker = true;
break;
case DataIndexes.groupID:
this.#groupID = dataExtractor.extractUInt8();
this.#groupID = dataExtractor.extractUInt32();
updateMarker = true;
break;
case DataIndexes.groupName: