Skip to content

Check the version field before updating race data#10

Open
hellow554 wants to merge 1 commit intoracetimeGG:masterfrom
hellow554:race_data_version_check
Open

Check the version field before updating race data#10
hellow554 wants to merge 1 commit intoracetimeGG:masterfrom
hellow554:race_data_version_check

Conversation

@hellow554
Copy link
Copy Markdown

Every race.data has a version field which gets incremented whenever the race data gets updated.
So before we update our data in the class, let's check that field in case a message went stray.


As discussed in discord, this should be done so prevent stray messages from overriding the current data

Every race.data has a version field which gets incremented whenever the
race data gets updated.
So before we update our data in the class, let's check that field in
case a message went stray.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant