CheeseLord / warts

WAcky Real Time Strategy
MIT License
1 stars 0 forks source link

resource_amt sent multiple times when resource amount increased by >1 #87

Open kronmillerg opened 6 years ago

kronmillerg commented 6 years ago

Run client with --log-debug. Create a bunch of units in the resource pool. Watch debug logs.

Problem (I think) is that server adds a ResourceChange for each unit in the pool. Then it resolves all the deltas. Then for each ResourceChange, it sends a message: you now have N resources.