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
|
|
@ -1,5 +1,8 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
||||
using var game = new ONDClient.GameMain();
|
||||
Environment.CurrentDirectory = AppDomain.CurrentDomain.BaseDirectory;
|
||||
int resMult = int.Parse(File.ReadLines("settings/resolution.txt").First());
|
||||
using var game = new ONDClient.GameMain(640 * resMult, 360 * resMult);
|
||||
game.Run();
|
||||
Loading…
Add table
Add a link
Reference in a new issue