Browse Source

use the correct structure this time

pull/118/head
jake 2 years ago
parent
commit
91a92870dc
  1. 4
      src/common/leveltable.rs

4
src/common/leveltable.rs

@ -1,9 +1,9 @@
use std::fs::File;
use serde_json::Value;
use crate::entity::character::CharacterClass;
use std::cell::LazyCell;
use std::sync::LazyLock;
pub const LEVEL_TABLE: LazyCell<CharacterLevelTable> = LazyCell::new(|| CharacterLevelTable::default());
pub static LEVEL_TABLE: LazyLock<CharacterLevelTable> = LazyLock::new(CharacterLevelTable::default);
#[derive(Default, Copy, Clone, Debug, PartialEq, Eq)]
pub struct CharacterStats {

Loading…
Cancel
Save