mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2025-03-16 11:26:11 +00:00
Fix Shield: Hold (#164)
Fixed the first hit not applying damage when normal shield hold is selected
This commit is contained in:
parent
2471b4acf9
commit
0107e31b85
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ pub unsafe fn param_installer() {
|
|||
if crate::training::COMMON_PARAMS as usize != 0 {
|
||||
let common_params = &mut *crate::training::COMMON_PARAMS;
|
||||
if is_training_mode()
|
||||
&& (MENU.shield_state == Shield::Infinite || should_pause_shield_decay())
|
||||
&& (MENU.shield_state == Shield::Infinite)
|
||||
{
|
||||
common_params.shield_damage_mul = 0.0;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue