From: Christopher Allan Webber Date: Tue, 26 Apr 2016 15:11:05 +0000 (-0500) Subject: actors: Fix create-actor, create-actor* X-Git-Tag: v0.2.0~38 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=cc0480943c62fbfefd7192e9536f2598faf8e909;p=8sync.git actors: Fix create-actor, create-actor* * 8sync/systems/actors.scm (create-actor, create-actor*): Fixed calls to %hive-create-actor, which were missing the actor class. --- diff --git a/8sync/systems/actors.scm b/8sync/systems/actors.scm index 1c937c3..286fef9 100644 --- a/8sync/systems/actors.scm +++ b/8sync/systems/actors.scm @@ -606,7 +606,7 @@ Instead, actors should call create-actor." This is the method actors should call directly (unless they want to supply an id-cookie, in which case they should use create-actor*)." - (8sync (%hive-create-actor (actor-hive from-actor) + (8sync (%hive-create-actor (actor-hive from-actor) actor-class init #f))) @@ -614,7 +614,7 @@ create-actor*)." "Create an instance of actor-class. Return the new actor's id. Like create-actor, but permits supplying an id-cookie." - (8sync (%hive-create-actor (actor-hive from-actor) + (8sync (%hive-create-actor (actor-hive from-actor) actor-class init id-cookie)))