From 292e9fdbffb1a70c28c0580ca5ea12276fd69bc5 Mon Sep 17 00:00:00 2001 From: Alchyr <39511935+Alchyr@users.noreply.github.com> Date: Thu, 30 Oct 2025 02:20:02 +0000 Subject: [PATCH] active text receiver is last index not 0 issue that probably is rare since it requires multiple active text receivers but i noticed it so I Fix --- .../helpers/input/ScrollInputProcessor/TextInput.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/src/main/java/basemod/patches/com/megacrit/cardcrawl/helpers/input/ScrollInputProcessor/TextInput.java b/mod/src/main/java/basemod/patches/com/megacrit/cardcrawl/helpers/input/ScrollInputProcessor/TextInput.java index cc0a86db8..ee49c6bbe 100644 --- a/mod/src/main/java/basemod/patches/com/megacrit/cardcrawl/helpers/input/ScrollInputProcessor/TextInput.java +++ b/mod/src/main/java/basemod/patches/com/megacrit/cardcrawl/helpers/input/ScrollInputProcessor/TextInput.java @@ -33,9 +33,9 @@ public class TextInput implements PreUpdateSubscriber { @Override public void receivePreUpdate() { - if (receivers.size() > 0 && receivers.get(0).isDone()) + if (receivers.size() > 0 && receivers.get(receivers.size() - 1).isDone()) { - stopTextReceiver(receivers.get(0)); + stopTextReceiver(receivers.get(receivers.size() - 1)); } }