mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-24 19:04:16 +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 {
|
||||
unsafe {
|
||||
if !QUEUE.is_empty() {
|
||||
if QUEUE.is_empty() {
|
||||
return Action::empty();
|
||||
}
|
||||
|
||||
|
@ -119,7 +119,7 @@ pub unsafe fn get_command_flag_cat(
|
|||
}
|
||||
|
||||
unsafe fn check_buffer(module_accessor: &mut app::BattleObjectModuleAccessor) {
|
||||
if !QUEUE.is_empty() {
|
||||
if QUEUE.is_empty() {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue