Time limit is exhausted. Please reload CAPTCHA.
Home › Forums › Battle Brothers: Bug Reports › Named weapon serialization of AdditionalAccuracy uses unsigned int
The serialization/deserialization of named_weapon‘s AdditionalAccuracy uses unsigned value, but it is possible to have negative values. In this case it would deserialize wrongly making a small negative number a very large positive number.
named_weapon
AdditionalAccuracy
_out.writeU16(this.m.AdditionalAccuracy);
this.m.AdditionalAccuracy = _in.readU16();
It should use signed integer instead.