fix factions

This commit is contained in:
41666 2022-11-20 16:36:58 -05:00
parent 85e8729261
commit 1d042b59bb

View file

@ -95,7 +95,7 @@ async fn get_world_pop(world_id: String) -> WorldPopulation {
.unwrap() .unwrap()
.as_secs(); .as_secs();
let (tr, vs, nc): (u32, u32, u32) = redis::pipe() let (vs, nc, tr): (u32, u32, u32) = redis::pipe()
.zcount(format!("{}/{}", world_id, 1), filter_timestamp, "+inf") .zcount(format!("{}/{}", world_id, 1), filter_timestamp, "+inf")
.zcount(format!("{}/{}", world_id, 2), filter_timestamp, "+inf") .zcount(format!("{}/{}", world_id, 2), filter_timestamp, "+inf")
.zcount(format!("{}/{}", world_id, 3), filter_timestamp, "+inf") .zcount(format!("{}/{}", world_id, 3), filter_timestamp, "+inf")