aboutsummaryrefslogtreecommitdiff
path: root/server/src/entity/demand_sink.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-12-16 01:12:16 +0100
committermetamuffin <metamuffin@disroot.org>2025-12-16 01:12:16 +0100
commitc1b9bbb5e76b88e803ba833c16337d528c1dd7be (patch)
tree93761c5f4189ece758923cab3bd2388bbcf18a8c /server/src/entity/demand_sink.rs
parente2efb15aa58477d898f92c8959242c0da3ce62bc (diff)
downloadhurrycurry-c1b9bbb5e76b88e803ba833c16337d528c1dd7be.tar
hurrycurry-c1b9bbb5e76b88e803ba833c16337d528c1dd7be.tar.bz2
hurrycurry-c1b9bbb5e76b88e803ba833c16337d528c1dd7be.tar.zst
Rename effect packet for compatiblity with older clients
Diffstat (limited to 'server/src/entity/demand_sink.rs')
-rw-r--r--server/src/entity/demand_sink.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/entity/demand_sink.rs b/server/src/entity/demand_sink.rs
index 2955e444..173d166b 100644
--- a/server/src/entity/demand_sink.rs
+++ b/server/src/entity/demand_sink.rs
@@ -36,7 +36,7 @@ impl Entity for DemandSink {
c.game.score.demands_completed += 1;
c.game.score.points += demand.points;
*c.score_changed = true;
- c.packet_out.push_back(PacketC::Effect {
+ c.packet_out.push_back(PacketC::Effect2 {
name: "satisfied".to_string(),
location: ItemLocation::Tile(self.pos),
});