diff --git a/index.html b/index.html
index 01698d3..ccadcd4 100644
--- a/index.html
+++ b/index.html
@@ -2310,7 +2310,10 @@
function add_row(data, key) {
if (data != null) {
data["_key"] = key;
- if (rows2[key].Estado != data.Estado) {
+ if (old[key] == undefined) {
+ old[key] = {};
+ }
+ if (old[key].Estado != data.Estado) {
console.log("SC:Updated:", data)
if (tts) {
var msg = `Comanda de ${SC_Personas[data.Persona].Region}. ${SC_Personas[data.Persona].Nombre}. ${data.Estado}`