mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Simplify stop watch initialization
This commit is contained in:
parent
cf56c0ed79
commit
e07ad53c55
@ -17,11 +17,10 @@ public static class NetworkTime
|
||||
|
||||
|
||||
// Date and time when the application started
|
||||
static readonly Stopwatch stopwatch;
|
||||
static readonly Stopwatch stopwatch = new Stopwatch();
|
||||
|
||||
static NetworkTime()
|
||||
{
|
||||
stopwatch = new Stopwatch();
|
||||
stopwatch.Start();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user