mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2025-02-26 11:00:23 +00:00
Fix buffer action when empty
This commit is contained in:
parent
e62d602895
commit
c81d996312
1 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ pub fn buffer_follow_up() {
|
||||||
|
|
||||||
pub fn get_current_buffer() -> Action {
|
pub fn get_current_buffer() -> Action {
|
||||||
unsafe {
|
unsafe {
|
||||||
if !QUEUE.is_empty() {
|
if QUEUE.is_empty() {
|
||||||
return Action::empty();
|
return Action::empty();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ pub unsafe fn get_command_flag_cat(
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe fn check_buffer(module_accessor: &mut app::BattleObjectModuleAccessor) {
|
unsafe fn check_buffer(module_accessor: &mut app::BattleObjectModuleAccessor) {
|
||||||
if !QUEUE.is_empty() {
|
if QUEUE.is_empty() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue