fixies
This commit is contained in:
@@ -166,7 +166,7 @@ namespace Game
|
||||
else if (playerId == NetworkManager.LocalPlayerClientId)
|
||||
{
|
||||
Console.Print("local player: " + playerId.ToString());
|
||||
string demoPath = System.IO.Path.Combine(AssetManager.DemoPath, $"{DateTimeOffset.Now.ToUnixTimeSeconds()}.gdem");
|
||||
string demoPath = System.IO.Path.Combine(AssetManager.DemoPath, $"{DateTimeOffset.Now.UtcTicks}.gdem");
|
||||
input = new PlayerInputLocal(demoPath); // TODO: support recording
|
||||
PlayerId = playerId;
|
||||
}
|
||||
@@ -400,7 +400,7 @@ namespace Game
|
||||
|
||||
if (distance < 0.00000001f)
|
||||
{
|
||||
hits = Array.Empty<RayCastHit>();
|
||||
hits = new RayCastHit[0];//Array.Empty<RayCastHit>();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user