Only keep looping while the actor is alive
[mudsync.git] / mudsync / gameobj.scm
index 3bb743ac5101e09182c0c5e6020c931d73394e10..07b3ddbc728957e33fe5b68bafb5efdbd40a5349 100644 (file)
@@ -21,7 +21,7 @@
 
 (define-module (mudsync gameobj)
   #:use-module (mudsync command)
-  #:use-module (8sync systems actors)
+  #:use-module (8sync actors)
   #:use-module (8sync agenda)
   #:use-module (srfi srfi-1)
   #:use-module (ice-9 format)
@@ -94,7 +94,7 @@
   (actions #:allocation #:each-subclass
            ;;; Actions supported by all gameobj
            #:init-value
-           (mhandlers
+           (build-actions
             (init gameobj-act-init)
             ;; Commands for co-occupants
             (get-commands gameobj-get-commands)