Skip to content

Commit 4cf4900

Browse files
committed
sign fix lol
1 parent 30a7d08 commit 4cf4900

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

game/classes/objects.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,8 +419,8 @@ function signUpdate() {
419419
//if owner then open sign editor
420420
if(mouseIsPressed){
421421
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)
422+
(this.color != 0 && this.color == curPlayer.color) ||
423+
(this.ownerName == curPlayer.name && this.color == 0)
424424
){
425425
gameState = "Editing Sign";
426426
curPlayer.sign = this;

0 commit comments

Comments
 (0)