Skip to content

Commit

Permalink
Skip Dialogs - Basic Implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
jetrotal committed Nov 13, 2023
1 parent a78768b commit e2527f0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/window_message.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,14 @@ void Window_Message::UpdateMessage() {
text_index = text_prev;
continue;
}

if (Player::debug_flag && Input::IsPressed(Input::CANCEL)){
line_char_counter = 0;
if (strlen(text_index) < 3 && !pending_message.HasNumberInput() && pending_message.GetNumChoices() <= 0) {
SetWait(5);
FinishMessageProcessing();
}
}
}
}
}
Expand Down

0 comments on commit e2527f0

Please sign in to comment.