closes #18: actor data now behind private symbol
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
(function engine() {
|
||||
globalThis.cell = prosperon
|
||||
cell.DOC = Symbol()
|
||||
var ACTORDATA = cell.hidden.ACTORSYM
|
||||
ACTORDATA = '__ACTORDATA__' // TODO: implement the actual actorsym
|
||||
var ACTORDATA = cell.hidden.actorsym
|
||||
var SYSYM = '__SYSTEM__'
|
||||
|
||||
var ENETSERVICE = 0.1
|
||||
@@ -112,7 +111,6 @@ function disrupt(err)
|
||||
actor_mod.on_exception(disrupt)
|
||||
|
||||
var js = use_embed('js')
|
||||
|
||||
var io = use_embed('io')
|
||||
|
||||
if (!io.exists('.cell')) {
|
||||
@@ -596,7 +594,7 @@ function actor_send(actor, message) {
|
||||
}
|
||||
return
|
||||
}
|
||||
log.system(`Unable to send message to actor ${json.encode(actor)}`)
|
||||
log.system(`Unable to send message to actor ${json.encode(actor[ACTORDATA])}`)
|
||||
}
|
||||
|
||||
// Holds all messages queued during the current turn.
|
||||
|
||||
Reference in New Issue
Block a user