Remove prints

This commit is contained in:
Jens Pitkänen 2020-08-08 10:38:15 +03:00
parent d2a085f696
commit b2d7e7be11
2 changed files with 0 additions and 2 deletions

View File

@ -80,7 +80,6 @@ namespace NeonTea.Quakeball.Networking.Instances {
public override void Handle(Connection conn, Packet packet) { public override void Handle(Connection conn, Packet packet) {
if (packet is SpawnPckt) { if (packet is SpawnPckt) {
SpawnPckt spawn = (SpawnPckt)packet; SpawnPckt spawn = (SpawnPckt)packet;
Debug.Log(spawn.IsInitial);
if (Players[conn.uid].Controlled == null && spawn.IsInitial) { if (Players[conn.uid].Controlled == null && spawn.IsInitial) {
Player obj = Net.SpawnPlayer(spawn.Location).GetComponent<Player>(); Player obj = Net.SpawnPlayer(spawn.Location).GetComponent<Player>();
Players[conn.uid].Controlled = obj; Players[conn.uid].Controlled = obj;

View File

@ -204,7 +204,6 @@ namespace NeonTea.Quakeball.Players {
if (Net.Singleton.Instance != null) { if (Net.Singleton.Instance != null) {
IsLocal = Net.Singleton.Instance.LocalPlayer.Id == sourceUid; IsLocal = Net.Singleton.Instance.LocalPlayer.Id == sourceUid;
} }
Debug.Log("I was hit! Aaagh!");
Splatter.Play(); Splatter.Play();
HitAudioSource.Play(); HitAudioSource.Play();
if (IsLocal) { if (IsLocal) {