mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
fixes VV not being able to delete vars (#25601)
This commit is contained in:
@@ -1168,7 +1168,7 @@ function loadPage(list) {
|
|||||||
else
|
else
|
||||||
return FALSE
|
return FALSE
|
||||||
|
|
||||||
if (!(index in L))
|
if (index < 1 || index > L.len)
|
||||||
return FALSE
|
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]." : "."]")
|
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