mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 11:05:03 +01:00
Makes the thing SLIGHTLY more robust. Not impossible to fool, though
This commit is contained in:
@@ -385,8 +385,10 @@ body
|
||||
else
|
||||
html += "<ul>"
|
||||
var/index = 1
|
||||
var/associative = FALSE
|
||||
for(var/entry in L)
|
||||
if(!isnum(entry) && !isnull(L[entry]))
|
||||
if(!(isnum(entry) || (isnull(L[entry]) && !associative)))
|
||||
associative = TRUE
|
||||
html += debug_variable(entry, L[entry], level + 1)
|
||||
else
|
||||
html += debug_variable(index, L[index], level + 1)
|
||||
|
||||
Reference in New Issue
Block a user