From: Christopher Allan Webber Date: Wed, 1 Feb 2017 21:32:20 +0000 (-0600) Subject: wait to inject each object before we inject the next one X-Git-Tag: fosdem-2017~20 X-Git-Url: https://jxself.org/git/?p=mudsync.git;a=commitdiff_plain;h=7219c749ff9bec14f0dc0e69d739da8281b30d71;ds=sidebyside wait to inject each object before we inject the next one --- diff --git a/mudsync/run-game.scm b/mudsync/run-game.scm index 0fed48d..c9d1f42 100644 --- a/mudsync/run-game.scm +++ b/mudsync/run-game.scm @@ -69,9 +69,9 @@ (while (not (q-empty? %inject-queue)) (match (deq! %inject-queue) ((gameobj-spec . special-symbol) - (<- (.gm injector) 'inject-special! - #:special-symbol special-symbol - #:gameobj-spec gameobj-spec))))) + (<-wait (.gm injector) 'inject-special! + #:special-symbol special-symbol + #:gameobj-spec gameobj-spec))))) ;;; Game running stuff