stopWaitForInput needs to check for same cc

This commit is contained in:
2023-03-08 09:47:52 -07:00
parent 6832bf4715
commit a1d5647446
3 changed files with 7 additions and 6 deletions

View File

@@ -75,8 +75,9 @@
(method :Void startWaitForInput [:Continuation cc]
(set nextCC cc))
(method :Void stopWaitForInput []
(set nextCC null))
(method :Void stopWaitForInput [:Continuation cc]
(when (= nextCC cc)
(set nextCC null)))
(var TITLE_Y 240)
(var TITLE_SIZE 72)