Skip to content

Fix pre-emptive command validation in MP#2063

Merged
schombert merged 1 commit intoschombert:mainfrom
ZombieFreak115:main
Aug 25, 2025
Merged

Fix pre-emptive command validation in MP#2063
schombert merged 1 commit intoschombert:mainfrom
ZombieFreak115:main

Conversation

@ZombieFreak115
Copy link
Contributor

@ZombieFreak115 ZombieFreak115 commented Aug 24, 2025

Fixes an issue discovered by @SneakBug8 in which batch commands which were dependent on eachother (such as peacedeals) would get wrongfully invalidated as all commands in a batch would be validated prior to the execution of any of the commands.

Commands are still validated right before execution in send_and_recieve_commands. This just removes the pre-emptive validation which happend when the host first recieves the command from clients. Also renames a function to better convey its purpose

@schombert schombert merged commit f46bdeb into schombert:main Aug 25, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants