Project-RimFactory-Revived
Project-RimFactory-Revived copied to clipboard
If drones get a Battlelog Enty a Warning is logged during saving / loading
Describe the bug
If a drone gets damaged then a Battlelog entry can be created. As the drone gets destroyed as soon a it reaches the drone station it will not be saved in any way. This will trigger the following warning:
Could not resolve reference to object with loadID Thing_PRFDrone25150 of type Verse.Pawn. Was it compressed away, destroyed, had no ID number, or not saved/loaded right? curParent=BattleLogEntry_ExplosionImpact: null->null
sample battleLog entry:
<li>
<creationTimestamp>52867</creationTimestamp>
<entries>
<li Class="BattleLogEntry_ExplosionImpact">
<ticksAbs>667867</ticksAbs>
<logID>17</logID>
<damagedParts>
<li>
<body>PRFDrone</body>
<index>11</index>
</li>
</damagedParts>
<damagedPartsDestroyed>
<li>False</li>
</damagedPartsDestroyed>
<initiatorPawn>null</initiatorPawn>
<recipientPawn>Thing_PRFDrone25150</recipientPawn>
<damageDef>Flame</damageDef>
</li>
</entries>
<absorbedBy>null</absorbedBy>
</li>
I maked this a minor as it dos not cause any issues.
To Reproduce Reproducibility: ? Steps to reproduce the behavior:
- Get a Battlelog Entry for a Drone
- Have the drone return to the station
- Save
can it be done so drones don't create any logs? i guess its not really needed anyways and may just be a small performance drain having extra logs laying around?