stopWaitForInput needs to check for same cc

This commit is contained in:
2023-03-08 09:47:52 -07:00
parent 97c2ae64a7
commit 966befc41a

View File

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