From ccf2162e730d3d53f3aba1a4f8d838f07b3f329f Mon Sep 17 00:00:00 2001 From: uporotiy Date: Mon, 22 Aug 2011 19:28:43 +0000 Subject: [PATCH] Fix for my fix. I derped. Note to self: next time, don't write even the littlest bits of code at 1 in the night after a long period of not coding at all. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2042 316c924e-a436-60f5-8080-3fe189b3f50e --- code/modules/admin/verbs/massmodvar.dm | 2 +- code/modules/admin/verbs/modifyvariables.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/verbs/massmodvar.dm b/code/modules/admin/verbs/massmodvar.dm index 804b783592b..bbfa8b1409b 100644 --- a/code/modules/admin/verbs/massmodvar.dm +++ b/code/modules/admin/verbs/massmodvar.dm @@ -28,7 +28,7 @@ if (locked.Find(variable) && !(src.holder.rank in list("Game Master", "Game Admin"))) return - if (variable == "holder" && !holder.rank == "Game Master") //Hotfix, a bit ugly but that exploit has been there for ages and now somebody just had to go and tell everyone of it bluh bluh - U + if (variable == "holder" && holder.rank != "Game Master") //Hotfix, a bit ugly but that exploit has been there for ages and now somebody just had to go and tell everyone of it bluh bluh - U return if(isnull(var_value)) diff --git a/code/modules/admin/verbs/modifyvariables.dm b/code/modules/admin/verbs/modifyvariables.dm index 1cea74adbc1..6d8439a5b75 100644 --- a/code/modules/admin/verbs/modifyvariables.dm +++ b/code/modules/admin/verbs/modifyvariables.dm @@ -251,7 +251,7 @@ if (locked.Find(variable) && !(src.holder.rank in list("Game Master", "Game Admin"))) return - if (variable == "holder" && !holder.rank == "Game Master") //Hotfix, a bit ugly but that exploit has been there for ages and now somebody just had to go and tell everyone of it bluh bluh - U + if (variable == "holder" && holder.rank != "Game Master") //Hotfix, a bit ugly but that exploit has been there for ages and now somebody just had to go and tell everyone of it bluh bluh - U return if(isnull(var_value))