VV tweaks + security fix (#17571)

This commit is contained in:
AffectedArc07
2022-04-05 15:42:07 +02:00
committed by GitHub
parent a81aa191f9
commit 8a19017e69
3 changed files with 39 additions and 1 deletions
+4
View File
@@ -7,6 +7,10 @@
if(!check_rights(R_VAREDIT)) return
// Make sure we can actually edit this var
if(!vv_varname_lockcheck(var_name))
return FALSE
if(A && A.type)
if(typesof(A.type))
switch(input("Strict object type detection?") as null|anything in list("Strictly this type","This type and subtypes", "Cancel"))