We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30a7d08 commit 4cf4900Copy full SHA for 4cf4900
game/classes/objects.js
@@ -419,8 +419,8 @@ function signUpdate() {
419
//if owner then open sign editor
420
if(mouseIsPressed){
421
if(
422
- (chunk.objects[i].color != 0 && chunk.objects[i].color == curPlayer.color) ||
423
- (chunk.objects[i].ownerName == curPlayer.name && chunk.objects[i].color == 0)
+ (this.color != 0 && this.color == curPlayer.color) ||
+ (this.ownerName == curPlayer.name && this.color == 0)
424
){
425
gameState = "Editing Sign";
426
curPlayer.sign = this;
0 commit comments