Správné vypnutí serveru v případě crashe z důvodu obsazeného portu, soubor na nastavení rozlišení, odstranění nepoužívané metody Enemy.SilentSpawn a implementace metody SoundManager.GetRandomisedPitchInstance
This commit is contained in:
parent
243f071a43
commit
8742f9eb55
10 changed files with 46 additions and 56 deletions
|
|
@ -110,7 +110,7 @@ public static class EventProcessor {
|
|||
private static void EnemyAttack(int enemyId, int pid) {
|
||||
Console.WriteLine($"E: Enemy {enemyId} attacked player {pid}");
|
||||
if (pid == Client.Player.State.Pid) {
|
||||
UIManager.Jumpscare(ClientEnemyManager.Get(pid));
|
||||
UIManager.Jumpscare(ClientEnemyManager.Get(enemyId));
|
||||
SoundManager.PlayJumpscare();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue