more test cleanup

This commit is contained in:
2026-07-25 23:20:52 -05:00
parent c3be2329c0
commit ba8c72d5a5
12 changed files with 117 additions and 164 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ impl Registerable for PlayerWithPos {
.register_get("health", |player: &mut PlayerWithPos| player.0.borrow().health)
.register_get("max_health", |player: &mut PlayerWithPos| player.0.borrow().max_health)
.register_get("keys", |player: &mut PlayerWithPos| player.0.borrow().keys)
.register_get("x", |player: &mut PlayerWithPos| player.1.borrow().player_pos().0)
.register_get("y", |player: &mut PlayerWithPos| player.1.borrow().player_pos().1);
.register_get("x", |player: &mut PlayerWithPos| player.1.borrow().player_pos().0 as i64)
.register_get("y", |player: &mut PlayerWithPos| player.1.borrow().player_pos().1 as i64);
}
}