This commit is contained in:
Dante Ruiz 2016-12-16 17:24:53 +00:00
parent 40a79867be
commit 889e9e854c

View file

@ -116,7 +116,7 @@ WebTablet = function (url, width, dpi, location, clientOnly) {
this.receive = function (channel, senderID, senderUUID, localOnly) {
if (_this.homeButtonEntity == senderID) {
if (_this.clicked) {
Entities.editEntity(_this.homeButtonEntity, {color: {red: 0, green: 255, blue: 255}});
Entities.editEntity(_this.homeButtonEntity, {color: {red: 0, green: 255, blue: 255}});
_this.clicked = false;
} else {
Entities.editEntity(_this.homeButtonEntity, {color: {red: 255, green: 255, blue: 0}});