Make spoofed user ID public

This commit is contained in:
Nobody 2022-01-26 21:47:57 +05:00
parent efafc2a60b
commit 2d9aa1dc4c

View File

@ -17,7 +17,7 @@ pub struct AuthManager {
} }
impl AuthManager { impl AuthManager {
const SPOOFED_PLAYER_UID: u32 = 1337; pub const SPOOFED_PLAYER_UID: u32 = 1337;
pub fn new(packets_to_send_tx: mpsc::Sender<IpcMessage>) -> AuthManager { pub fn new(packets_to_send_tx: mpsc::Sender<IpcMessage>) -> AuthManager {
let mut am = AuthManager { let mut am = AuthManager {