commit: a4d7ad2517a01f6611f67965c3472714b1c72be8
parent 9a6f5599d383f1ec0e7470ddb0f44c43429a0e6a
Author: Devine Lu Linvega <aliceffekt@gmail.com>
Date: Fri, 9 Mar 2018 15:22:47 +1300
Updated database node
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/nodes/database.js b/scripts/nodes/database.js
@@ -6,9 +6,9 @@ function DatabaseNode(id,rect)
this.cache = null;
- this.answer = function(q)
+ this.receive = function(q)
{
this.cache = this.cache ? this.cache : this.request();
- return this.request(this.cache);
+ this.send(this.request(this.cache))
}
}
\ No newline at end of file