Update calls of hive-create-actor to bootstrap-actor
[mudsync.git] / mudsync / run-game.scm
index 9b7c1492778eb95292f9fbae7f06cb6820e2a773..fe7cb516ca81177a4b276fff107228cd01baaf88 100644 (file)
   (define new-conn-handler
     (make-default-room-conn-handler default-room))
   (define gm
-    (hive-create-actor-gimmie* hive <game-master> "gm"
-                               #:new-conn-handler new-conn-handler))
+    (bootstrap-actor-gimmie* hive <game-master> "gm"
+                             #:new-conn-handler new-conn-handler))
   (define repl-manager
-    (hive-create-actor* hive <repl-manager> "repl"))
+    (bootstrap-actor* hive <repl-manager> "repl"))
 
   (define initial-tasks
     (list (bootstrap-message hive (actor-id gm) 'init-world
@@ -84,7 +84,7 @@
     ;; Set up injector for live hacking
     (set! inject-gameobj! gameobj-injector)
 
-    (start-agenda agenda #:post-run-hook post-run-hook)))
+    (run-agenda agenda #:post-run-hook post-run-hook)))
 
 
 (define (do-inject-special! queue hive gm-id game-spec special-symbol)