From e6fb412c4d62109804aedc0e83cb48014ced9c51 Mon Sep 17 00:00:00 2001 From: Sergio Valor Martinez Date: Tue, 22 Nov 2022 13:34:33 +0100 Subject: [PATCH] Fix: La pantalla de Game Over no mostraba Tu peor pesadilla --- source/stats.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/stats.cpp b/source/stats.cpp index 80c034c..ca195ee 100644 --- a/source/stats.cpp +++ b/source/stats.cpp @@ -19,12 +19,12 @@ Stats::Stats(std::string file, std::string buffer, options_t *options) // Destructor Stats::~Stats() { - // Calcula cual es la habitación con más muertes - checkWorstNightmare(); - // Vuelca los datos del buffer en la lista de estadisticas updateListFromBuffer(); + // Calcula cual es la habitación con más muertes + checkWorstNightmare(); + // Guarda las estadísticas saveToServer(); saveToFile(bufferPath, bufferList);