Bannerlord-Coop-Team / BannerlordCoop

MIT License
269 stars 51 forks source link

Registry Unstable GUID Fix #985

Closed garrettluskey closed 2 months ago

garrettluskey commented 2 months ago

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

What is the current behavior?

Some Registries were stored using GUIDs, so when existing objects are registered. The clients and the server will have different ids for the same object

What is the new behavior?

Ids are now assigned from a counter, assuming after the game loads and when the instances are registered the ids will match

Other information