mirror of
https://github.com/DerTyp7/defrain-shooter-unity.git
synced 2025-10-29 20:52:10 +01:00
adde ServerPlayer
This commit is contained in:
@@ -20,7 +20,7 @@ public class Player : MonoBehaviour
|
||||
private void Sync()
|
||||
{
|
||||
Debug.Log("Sync");
|
||||
health = playerMaster.GetHealthOfPlayer(gameObject);
|
||||
health = playerMaster.SyncHealth(gameObject);
|
||||
}
|
||||
|
||||
public void SubstractHealth(int value)
|
||||
|
||||
Reference in New Issue
Block a user