mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
fixes VV not being able to delete vars (#25601)
This commit is contained in:
@@ -1168,7 +1168,7 @@ function loadPage(list) {
|
||||
else
|
||||
return FALSE
|
||||
|
||||
if (!(index in L))
|
||||
if (index < 1 || index > L.len)
|
||||
return FALSE
|
||||
|
||||
log_admin("[key_name(usr)] has deleted the value [L[index]] in the list [L][D ? ", belonging to the datum [D] of type [D.type]." : "."]")
|
||||
|
||||
Reference in New Issue
Block a user