aboutsummaryrefslogtreecommitdiff
path: root/server/src/entity
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2024-07-23 13:13:01 +0200
committernokoe <nokoe@mailbox.org>2024-07-23 13:13:01 +0200
commit1675781c5ee3cbd6e9dc9960a59fda58d9cb75c8 (patch)
tree622a54ff77d6ef71c3e8290015ae7c5862f8036f /server/src/entity
parent989117d062a001dd40a8788b34629266b3741be7 (diff)
downloadhurrycurry-1675781c5ee3cbd6e9dc9960a59fda58d9cb75c8.tar
hurrycurry-1675781c5ee3cbd6e9dc9960a59fda58d9cb75c8.tar.bz2
hurrycurry-1675781c5ee3cbd6e9dc9960a59fda58d9cb75c8.tar.zst
fix score not being sent when interacting
Diffstat (limited to 'server/src/entity')
-rw-r--r--server/src/entity/conveyor.rs1
-rw-r--r--server/src/entity/portal.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/server/src/entity/conveyor.rs b/server/src/entity/conveyor.rs
index 7f3d8688..b370356c 100644
--- a/server/src/entity/conveyor.rs
+++ b/server/src/entity/conveyor.rs
@@ -77,6 +77,7 @@ impl EntityT for Conveyor {
Some(to.kind),
packet_out,
&mut game.score,
+ &mut game.score_changed,
true,
);
}
diff --git a/server/src/entity/portal.rs b/server/src/entity/portal.rs
index dc376681..3ed19719 100644
--- a/server/src/entity/portal.rs
+++ b/server/src/entity/portal.rs
@@ -50,6 +50,7 @@ impl EntityT for Portal {
Some(to.kind),
packet_out,
&mut game.score,
+ &mut game.score_changed,
true,
);
}