From 28c75935fd41340cfa7caf944f818718f85165d1 Mon Sep 17 00:00:00 2001 From: "Laurent Alonso(fr)" Date: Thu, 4 Jun 2020 11:39:52 +0200 Subject: [PATCH] save[timers,correction]: try to save the timers correctly... --- src/universe/party.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/universe/party.cpp b/src/universe/party.cpp index fb8a3a74..e7c8ddbd 100644 --- a/src/universe/party.cpp +++ b/src/universe/party.cpp @@ -793,7 +793,7 @@ void cParty::writeTo(std::ostream& file) const { file << '\f'; file << '\f'; for(unsigned int i = 0; i < party_event_timers.size(); i++) { - if (party_event_timers[i].node<0) + if (party_event_timers[i].node<=-200 || (party_event_timers[i].node>=-9 && party_event_timers[i].node<0)) continue; file << "TIMER " << ' ' << party_event_timers[i].time << ' ' << int(party_event_timers[i].node_type) << ' ' << party_event_timers[i].node << '\f';