mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
remove logs
This commit is contained in:
parent
d145630396
commit
5dd6abf3ba
@ -27,7 +27,6 @@ void DestroySelf()
|
||||
// return to prefab pool
|
||||
NetworkServer.UnSpawn(gameObject);
|
||||
PrefabPool.singleton.Return(gameObject);
|
||||
Debug.Log("[Server]: Returned projectile to pool");
|
||||
//NetworkServer.Destroy(gameObject);
|
||||
}
|
||||
|
||||
|
@ -56,7 +56,6 @@ void Update()
|
||||
void CmdFire()
|
||||
{
|
||||
GameObject projectile = PrefabPool.singleton.Get(projectileMount.position, projectileMount.rotation);
|
||||
Debug.Log("[Server]: Got projectile from pool");
|
||||
NetworkServer.Spawn(projectile);
|
||||
RpcOnFire();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user