From 40556c410a3a8c2d24007aea785c2c001aedad95 Mon Sep 17 00:00:00 2001 From: Leo dev Date: Sat, 21 Jun 2025 11:12:32 -0500 Subject: [PATCH] testing coins --- src/database.rs | 1 + src/methods/player.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/database.rs b/src/database.rs index fa17ce9..8d0e513 100644 --- a/src/database.rs +++ b/src/database.rs @@ -7,6 +7,7 @@ pub struct Player { pub cloak: String, pub hats: Vec, pub hat: String, + pub coins: u32, pub online: bool, } diff --git a/src/methods/player.rs b/src/methods/player.rs index 37f287b..153925a 100644 --- a/src/methods/player.rs +++ b/src/methods/player.rs @@ -48,6 +48,7 @@ pub fn create(session: &Session) -> Result { cloak: "".to_string(), hats: Vec::new(), hat: String::new(), + coins: 0, online: true, };