Fixed a bug where attacks weren't being reset.
This commit is contained in:
parent
6792fedc39
commit
65529511e9
|
@ -1556,8 +1556,10 @@ fluxion_set_attack() {
|
||||||
head -n 3 "attacks/$attack/language/$FluxionLanguage.sh" | \
|
head -n 3 "attacks/$attack/language/$FluxionLanguage.sh" | \
|
||||||
grep -E "^# identifier: " | sed -E 's/# \w+: //'
|
grep -E "^# identifier: " | sed -E 's/# \w+: //'
|
||||||
)
|
)
|
||||||
if [ "$identifier" ]; then identifiers+=("$identifier")
|
if [ "$identifier" ]; then
|
||||||
else identifiers+=("$attack")
|
identifiers+=("$identifier")
|
||||||
|
else
|
||||||
|
identifiers+=("$attack")
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -1660,6 +1662,7 @@ fluxion_run_attack() {
|
||||||
fluxion_handle_exit
|
fluxion_handle_exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
fluxion_unprep_attack
|
||||||
fluxion_unset_attack
|
fluxion_unset_attack
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue