- Fixed a runtime that happens when you try to add a new admin via the permissions panel. Adding admins through that panel will now work again.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5382 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2012-12-23 19:35:20 +00:00
parent b55042e64b
commit 5cebb40123

View File

@@ -147,7 +147,9 @@
else
new_rank = input("Please select a rank", "New rank", null, null) as null|anything in list("Game Master","Game Admin", "Trial Admin", "Admin Observer","*New Rank*")
var/rights = D.rights
var/rights = 0
if(D)
rights = D.rights
switch(new_rank)
if(null,"") return
if("*New Rank*")