Skip to content

Commit

Permalink
fix: fix change handler falsy bug (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
3mcd authored Jun 11, 2020
1 parent 74f505b commit c135489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/net/src/message_handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function createMessageHandler(world: World) {
function updateComponent(component: Component) {
const local = remoteToLocal.get(component._e)

if (!local) {
if (local === undefined) {
return
}

Expand Down

0 comments on commit c135489

Please sign in to comment.