Compare commits

..

3 Commits

Author SHA1 Message Date
6ac3ad50dc oh wow this has been wrong this entire time
Some checks failed
continuous-integration/drone/push Build is failing
2023-11-10 22:29:50 -07:00
fc62be05e2 cleanup 2023-11-10 22:19:45 -07:00
5bf9ef59bf actually this shouldn't be needed 2023-11-10 22:19:40 -07:00
6 changed files with 2 additions and 48 deletions

View File

@ -8,7 +8,6 @@ edition = "2021"
members = [
"entity",
"maps",
"common",
"networking",
]
@ -16,7 +15,6 @@ members = [
libpso = { git = "http://git.sharnoth.com/jake/libpso" }
entity = { path = "./entity" }
maps = { path = "./maps" }
common = { path = "./common" }
networking = { path = "./networking" }
async-std = { version = "1.9.0", features = ["unstable", "attributes"] }
futures = "0.3.5"
@ -50,7 +48,6 @@ anyhow = { version = "1.0.68", features = ["backtrace"] }
libpso = { git = "http://git.sharnoth.com/jake/libpso" }
entity = { path = "./entity" }
maps = { path = "./maps" }
common = { path = "./common" }
networking = { path = "./networking" }
async-std = { version = "1.9.0", features = ["unstable", "attributes"] }
futures = "0.3.5"

View File

@ -1,8 +0,0 @@
[package]
name = "common"
version = "0.1.0"
edition = "2021"
[dependencies]
derive_more = { workspace = true }

View File

View File

@ -21,37 +21,3 @@ futures = { workspace = true }
strum = { workspace = true }
strum_macros = { workspace = true }
toml = { workspace = true }
#libpso = { git = "http://git.sharnoth.com/jake/libpso" }
#async-std = { version = "1.9.0", features = ["unstable", "attributes"] }
#futures = "0.3.5"
#rand = "0.7.3"
#rand_chacha = "0.2.2"
#crc = "^1.0.0"
#bcrypt = "0.10"
#chrono = "0.4.11"
#serde = "*"
#serde_json = "*"
#ron = "*"
#toml = "*"
#log = "*"
#fern = { version = "0.5", features = ["colored"] }
#byteorder = "1"
#enum-utils = "0.1.2"
#derive_more = { version = "0.99.3", features = ["display"]}
#thiserror = "1.0.37"
#ages-prs = "0.1"
#async-trait = "0.1.51"
#async-recursion= "1.0.0"
#lazy_static = "1.4.0"
#barrel = { version = "0.6.5", features = ["pg"] }
#refinery = { version = "0.5.0", features = ["postgres"] }
#sqlx = { version = "0.6.2", features = ["runtime-async-std-native-tls", "postgres", "json", "chrono"] }
#strum = "0.19.5"
#strum_macros = "0.19"
#anyhow = { version = "1.0.68", features = ["backtrace"] }
#[lib]
#name = "entity"
#path = "lib.rs"

View File

@ -4,7 +4,6 @@ version = "0.1.0"
edition = "2021"
[dependencies]
common = { workspace = true }
byteorder = { workspace = true }
serde = { workspace = true }
thiserror = { workspace = true }

View File

@ -336,8 +336,8 @@ impl std::cmp::Ord for BankItemDetail {
self_bytes.copy_from_slice(&self.as_client_bytes()[0..4]);
other_bytes.copy_from_slice(&other.as_client_bytes()[0..4]);
let self_value = u32::from_le_bytes(self_bytes);
let other_value = u32::from_le_bytes(other_bytes);
let self_value = u32::from_be_bytes(self_bytes);
let other_value = u32::from_be_bytes(other_bytes);
self_value.cmp(&other_value)
}