diff --git a/ppfun-bridge/src/pixelplanet/constants.js b/ppfun-bridge/src/pixelplanet/constants.js index 4f2c787..a3a9fd7 100644 --- a/ppfun-bridge/src/pixelplanet/constants.js +++ b/ppfun-bridge/src/pixelplanet/constants.js @@ -1,5 +1,5 @@ -export const WIDTH = 1024; -export const HEIGHT = 768; +export const WIDTH = 800; +export const HEIGHT = 600; export const MAX_SCALE = 40; // 52 in log2 export const TILE_SIZE = 256; export const TILE_ZOOM_LEVEL = 4; diff --git a/ppfun-bridge/src/ppfunMatrixBridge.js b/ppfun-bridge/src/ppfunMatrixBridge.js index ec8914b..392ee70 100644 --- a/ppfun-bridge/src/ppfunMatrixBridge.js +++ b/ppfun-bridge/src/ppfunMatrixBridge.js @@ -169,7 +169,7 @@ class PPfunMatrixBridge { async run() { console.log('STARTING MATRIX CONNECTION'); - await this.matrixBridge.run(this.port); + await this.matrixBridge.run(this.port, null, 'localhost'); console.log('STARTING PPFUN CONNECTION'); await this.ppfunSocket.run(); console.log('BRIDGE CONNECTED');