Remove prints
This commit is contained in:
parent
d2a085f696
commit
b2d7e7be11
@ -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;
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user