Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Game/World.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = class{
}

update(delta, k){
for(const location of this.locations.values()){
for(const [_, location] of this.locations){
location.update(delta, k);
}
}
Expand All @@ -35,7 +35,7 @@ module.exports = class{
}

const personId = this.players.get(playerId);
for(const location of this.locations.values()){
for(const [_, location] of this.locations){
if(location.persons.has(personId)){
return location.persons.get(personId);
}
Expand Down