mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
fix(unit): unit and group id are now of the correct type; added DCS unitId to dead units
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user