diff --git a/lib/netplay/netplay.cpp b/lib/netplay/netplay.cpp index ba8f64ba208..ffd732fc9b3 100644 --- a/lib/netplay/netplay.cpp +++ b/lib/netplay/netplay.cpp @@ -130,7 +130,7 @@ SYNC_COUNTER sync_counter; // keeps track on how well we are in sync // //////////////////////////////////////////////////////////////////////// // Types -std::atomic_int upnp_status; +static std::atomic_int upnp_status; struct Statistic {