mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Fixes or adds many missing sanity checks
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
return
|
||||
else
|
||||
var/str = copytext(reject_bad_text(input(user,"Enter the properly capitolized name for demotion","Set name","")),1,MAX_NAME_LEN)
|
||||
if (!in_range(src, user) || user.stat) return
|
||||
if(!str)
|
||||
alert("Invalid name.")
|
||||
target_name = null
|
||||
|
||||
Reference in New Issue
Block a user