I came across a problem using the library. After saving multiple player copies for later analysis, accessing the weapon would always yield an exception. This is because rawWeapons and ActiveWeaponID are not copied when calling Copy() on the player object.
Changed code accordingly, please verify code formatting before merging. This was the cleanest way formatting I could get it to, but I'm not happy with it.
Hey,
I came across a problem using the library. After saving multiple player copies for later analysis, accessing the weapon would always yield an exception. This is because
rawWeapons
andActiveWeaponID
are not copied when callingCopy()
on the player object.Changed code accordingly, please verify code formatting before merging. This was the cleanest way formatting I could get it to, but I'm not happy with it.