Mind component is now properly applied

Applied by default to all mobs, unless they have the MINDLESS flag
This commit is contained in:
Llywelwyn 2023-08-01 12:28:57 +01:00
parent c43408b8aa
commit 6f8f42d9fc
3 changed files with 9 additions and 5 deletions

View file

@ -131,8 +131,8 @@ impl State {
fn run_systems(&mut self) {
let mut mapindex = MapIndexingSystem {};
let mut vis = VisibilitySystem {};
let mut energy = ai::EnergySystem {};
let mut regen_system = ai::RegenSystem {};
let mut energy = ai::EnergySystem {};
let mut turn_status_system = ai::TurnStatusSystem {};
let mut quip_system = ai::QuipSystem {};
let mut mob = MonsterAI {};