Last active
October 26, 2015 14:28
-
-
Save KableM/4439131fdafc7fa7b53d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Hide Yo Degrees | |
// @version 1.0.2 | |
// @description Hide your degrees even with stats on | |
// @include http://tagpro-*.koalabeast.com:* | |
// @include http://tangent.jukejuice.com:* | |
// @include http://*.newcompte.fr:* | |
// @author Browncoat | |
// ==/UserScript== | |
tagpro.ready(function () { | |
// OPTIONS | |
var hideMyDegrees = true; | |
var hideOtherDegrees = false; | |
var drawDegree = tagpro.renderer.drawDegree; | |
tagpro.renderer.drawDegree = function (player) { | |
if (player.id != tagpro.playerId) { | |
if (!hideOtherDegrees) { | |
drawDegree(player); | |
} | |
} else if (!hideMyDegrees) { | |
drawDegree(player); | |
} | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment