race -> ancestries, adds ancestry stat maximums

This commit is contained in:
Llywelwyn 2023-08-21 11:21:19 +01:00
parent 9e26c41aad
commit 33ce208252
5 changed files with 73 additions and 17 deletions

View file

@ -41,7 +41,7 @@ extern crate lazy_static;
//Consts
pub const SHOW_MAPGEN: bool = false;
pub const LOG_SPAWNING: bool = true;
pub const LOG_TICKS: bool = true;
pub const LOG_TICKS: bool = false;
#[derive(PartialEq, Copy, Clone)]
pub enum RunState {
@ -410,7 +410,7 @@ impl GameState for State {
new_runstate = RunState::MainMenu { menu_selection: gui::MainMenuSelection::NewGame };
} else {
gui::setup_player_ancestry(&mut self.ecs, ancestry);
gui::setup_player_class(&mut self.ecs, class);
gui::setup_player_class(&mut self.ecs, class, ancestry);
new_runstate = RunState::PreRun;
}
}