diff --git a/src/components/Farmhand/Farmhand.js b/src/components/Farmhand/Farmhand.js index 0e73702ce..a7d42fef2 100644 --- a/src/components/Farmhand/Farmhand.js +++ b/src/components/Farmhand/Farmhand.js @@ -678,7 +678,7 @@ export default class Farmhand extends FarmhandReducers { })) } - if (newIsOnline !== prevState.isOnline || room !== prevState.room) { + if (isOnline !== prevState.isOnline || room !== prevState.room) { this.syncToRoom() if (!isOnline && typeof heartbeatTimeoutId === 'number') {