From f569eb788f0ac0f5d10e2b83e2f7f3c9cd0b2d68 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 7 Jan 2016 20:08:22 +0100 Subject: Limit rendering to on-screen tiles --- src/control/MapContext.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/control/MapContext.ts') diff --git a/src/control/MapContext.ts b/src/control/MapContext.ts index 1c0f1a8..ce82c5a 100644 --- a/src/control/MapContext.ts +++ b/src/control/MapContext.ts @@ -31,7 +31,7 @@ export default class MapContext { this.view = new MapView( map, this.entities, - () => this.playerEntity, + this.playerEntity, (time: number) => this.updateState(time) ); -- cgit v1.2.3