diff options
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network_client.cpp b/src/network/network_client.cpp index 9f08062f3..d38437cc1 100644 --- a/src/network/network_client.cpp +++ b/src/network/network_client.cpp @@ -132,8 +132,8 @@ struct PacketReader : LoadFilter { */ void ClientNetworkEmergencySave() { - static int _netsave_ctr = 0; - DoAutoOrNetsave(_netsave_ctr, true); + static FiosNumberedSaveName _netsave_ctr("netsave"); + DoAutoOrNetsave(_netsave_ctr); } |