Fixes some false positives

This commit is contained in:
AnturK
2015-05-24 15:11:50 +02:00
parent 2638a5d4e9
commit 3b1a5fbdca

View File

@@ -145,7 +145,7 @@ var/list/VVckey_edit = list("key", "ckey")
var/assoc = 0
if(L.len > 0)
var/a = L[1]
if(L[a] != null)
if(!isnum(a) && L[a] != null)
assoc = 1 //This is pretty weak test but i can't think of anything else
usr << "List appears to be associative."