mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew.git
synced 2025-05-13 11:37:33 -05:00
Fix global lottery price
This commit is contained in:
parent
a2475806b2
commit
69ad127379
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ lazy_static! {
|
||||||
pub static ref PRICE: JsonValue = {
|
pub static ref PRICE: JsonValue = {
|
||||||
let mut cardz = object!{};
|
let mut cardz = object!{};
|
||||||
let items = json::parse(&include_file!("src/router/databases/json/lottery_price.json")).unwrap();
|
let items = json::parse(&include_file!("src/router/databases/json/lottery_price.json")).unwrap();
|
||||||
let items_global = json::parse(&include_file!("src/router/databases/json/global/lottery.json")).unwrap();
|
let items_global = json::parse(&include_file!("src/router/databases/json/global/lottery_price.json")).unwrap();
|
||||||
for data in items.members() {
|
for data in items.members() {
|
||||||
if cardz[data["id"].to_string()].is_null() {
|
if cardz[data["id"].to_string()].is_null() {
|
||||||
cardz[data["id"].to_string()] = object!{};
|
cardz[data["id"].to_string()] = object!{};
|
||||||
|
|
Loading…
Add table
Reference in a new issue