Fixes admins being able to use the JMP verb as a new player (#63835)

they should NOT be able to do this
This commit is contained in:
Seth Scherer
2022-01-05 20:27:06 +00:00
committed by GitHub
parent 5de0ac3045
commit 0fef8b8019
+2
View File
@@ -743,6 +743,8 @@
else if(href_list["adminplayerobservecoodjump"])
if(!isobserver(usr) && !check_rights(R_ADMIN))
return
if(isnewplayer(usr))
return
var/x = text2num(href_list["X"])
var/y = text2num(href_list["Y"])