From: Christopher Allan Webber Date: Wed, 11 May 2016 20:37:53 +0000 (-0500) Subject: Switch inject-special! to do-inject-special! X-Git-Tag: fosdem-2017~137 X-Git-Url: https://jxself.org/git/?p=mudsync.git;a=commitdiff_plain;h=31d4d0fb22546efe897756ad00699d44907c7737;hp=a1f2eb03faa50232cee704a2ad710d26da918cba Switch inject-special! to do-inject-special! --- diff --git a/mudsync/run-game.scm b/mudsync/run-game.scm index ff58f23..6bacfcd 100644 --- a/mudsync/run-game.scm +++ b/mudsync/run-game.scm @@ -26,7 +26,7 @@ #:use-module (ice-9 receive) #:use-module (ice-9 q) #:export (run-demo - inject-special! + do-inject-special! make-special-injector ;; Debug stuff, might go away @@ -87,7 +87,7 @@ #:post-run-hook post-run-hook))) -(define (inject-special! queue hive gm-id game-spec special-symbol) +(define (do-inject-special! queue hive gm-id game-spec special-symbol) (define gameobj-spec (or (find (lambda (entry) (eq? (car entry) special-symbol)) @@ -113,5 +113,5 @@ (lambda (agenda) (queue-injected-tasks-on-agenda! agenda inject-queue)) (lambda (game-spec special-symbol) - (inject-special! inject-queue hive gm-id - game-spec special-symbol)))) + (do-inject-special! inject-queue hive gm-id + game-spec special-symbol))))