shouldn't wait for purchasing.

This commit is contained in:
Bryce Covert
2018-01-05 07:41:21 -08:00
parent e95d6c4be1
commit 994669b132

View File

@@ -641,8 +641,7 @@
(when @iap/can-purchase?
(actions/talk entities :ego "Uh-oh! It looks like it's guarded by a warding spell!")
(actions/talk entities :ego "Looks like I need to buy an unwarding spell.")
(iap/start-purchase)
(a/<!! iap/purchase-chan)))
(iap/start-purchase)))
(when @iap/has-purchased?
(cond
(get-in @entities [:room :entities :wizard])