aboutsummaryrefslogtreecommitdiff
path: root/server/src/entity/conveyor.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-20 19:29:41 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-20 19:29:41 +0200
commit1a45b0e0f5de785ddf268d7371f0cdaeafe9daa7 (patch)
tree5712d2d0784da660733e41d1b69636127b71c3b3 /server/src/entity/conveyor.rs
parent89ba8a6b62b90ac72547e2ca9ea5eeae7bbc6500 (diff)
downloadhurrycurry-1a45b0e0f5de785ddf268d7371f0cdaeafe9daa7.tar
hurrycurry-1a45b0e0f5de785ddf268d7371f0cdaeafe9daa7.tar.bz2
hurrycurry-1a45b0e0f5de785ddf268d7371f0cdaeafe9daa7.tar.zst
refactor score code (and break things)
Diffstat (limited to 'server/src/entity/conveyor.rs')
-rw-r--r--server/src/entity/conveyor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/entity/conveyor.rs b/server/src/entity/conveyor.rs
index 6067c679..38478db7 100644
--- a/server/src/entity/conveyor.rs
+++ b/server/src/entity/conveyor.rs
@@ -72,7 +72,7 @@ impl EntityT for Conveyor {
ItemLocation::Tile(self.from),
Some(to.kind),
&mut game.packet_out,
- &mut game.points,
+ &mut game.score,
true,
);
}