dripton / Slugathon

Clone of the old Avalon Hill fantasy wargame Titan, using Python / PyGTK / Twisted
https://github.com/dripton/Slugathon/wiki
8 stars 2 forks source link

Can't recruit in next turn after reinforcing #128

Closed dripton closed 14 years ago

dripton commented 14 years ago

Sometimes a legion that reinforces in battle can't recruit in its next turn.

dripton commented 14 years ago

This may be the same bug as #125

dripton commented 14 years ago

Remove a couple of reset_angels_pending calls.

There was a race where the reset_angels_pending would happen on the client side before the Acquire action did, and then Legion.acquire call would succeed on the server side but fail on the client side, leading to out-of-sync legion contents and all kinds of problems.

Closed by 68580131438643c0e60aaaf785a1e69b080a4609 Closed by 68580131438643c0e60aaaf785a1e69b080a4609 Closed by 68580131438643c0e60aaaf785a1e69b080a4609