Permalink
Browse files

dev

  • Loading branch information...
egonelbre committed Jun 24, 2012
1 parent ff9ad0d commit dd95e667a51cddc13c562bb8f898ab987b9ca147
Showing with 2 additions and 3 deletions.
  1. +2 −3 js/main.js
View
@@ -38,7 +38,7 @@ main = {
requestRender();
},
update : function(){
-
+ this.net.cpu.update();
},
render : function(ctx){
ctx.fillStyle = "#fff";
@@ -60,7 +60,7 @@ main = {
// SETUP AUTO UPDATE
setInterval(function(){
- main.net.cpu.update();
+ main.update();
}, 40);
canvas.width = main.size.x;
@@ -69,7 +69,6 @@ canvas.height = main.size.y;
// SETUP RENDERING
function render(){
- main.update();
main.render(ctx);
last = 0;
}

0 comments on commit dd95e66

Please sign in to comment.