forked from Warzone2100/warzone2100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Human droid production using default templates caused immediate desync.
Solved by not sending templates for factory production any more. Instead we send the template contents, and create a temporary template in the factory when the network packet is received. Once the droid is produced, the temporary template is discarded. Fixes ticket:4304
- Loading branch information
Showing
2 changed files
with
38 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters