chore: removed debug prints
This commit is contained in:
parent
a80888092f
commit
d7fbcfbcde
1 changed files with 0 additions and 3 deletions
|
|
@ -270,14 +270,11 @@ void PlayerSpecialAttackState::fail_activation() {
|
|||
}
|
||||
|
||||
void PlayerSpecialAttackState::state_entered() {
|
||||
print_line("meter:", LevelStatus::get_instance()->get_energy(), "cost:", this->meter_cost);
|
||||
this->activated_succesful = LevelStatus::get_instance()->try_use_energy(this->meter_cost);
|
||||
if (this->activated_succesful) {
|
||||
super_type::state_entered();
|
||||
print_line("activated");
|
||||
} else {
|
||||
callable_mp(this, &self_type::fail_activation).call_deferred();
|
||||
print_line("failed");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue