ND_Core icon indicating copy to clipboard operation
ND_Core copied to clipboard

fix(vehicle): set metadata state for vehicle if non-existent

Open NotSomething0 opened this issue 1 year ago • 0 comments

Fixed an issue where vehicle.setMetadata would fail if metadata wasn't already part of its current state. I also added a debug print when skipping metadata storage, for example, if setMetadata was called on an AI vehicle. I can remove it if it's not wanted, but I felt like it might be beneficial instead of silently returning.

NotSomething0 avatar May 11 '24 20:05 NotSomething0