cleans up linter warns
This commit is contained in:
parent
6d80b80a82
commit
27c1fe9a48
14 changed files with 71 additions and 64 deletions
|
|
@ -68,7 +68,7 @@ impl<'a> System<'a> for EnergySystem {
|
|||
.insert(entity, TakingTurn {})
|
||||
.expect("Unable to insert turn for turn counter.");
|
||||
energy.current -= TURN_COST;
|
||||
crate::gamelog::record_event(EVENT::TURN(1));
|
||||
crate::gamelog::record_event(EVENT::Turn(1));
|
||||
// Handle spawning mobs each turn
|
||||
if CONFIG.logging.log_ticks {
|
||||
console::log(
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ impl<'a> System<'a> for TurnStatusSystem {
|
|||
.colour(WHITE)
|
||||
.append("are confused!");
|
||||
log = true;
|
||||
gamelog::record_event(EVENT::PLAYER_CONFUSED(1));
|
||||
gamelog::record_event(EVENT::PlayerConfused(1));
|
||||
} else {
|
||||
logger = logger
|
||||
.append("The")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue