Close game interface before showing crash form and don't show it at all on dedicated servers.

This commit is contained in:
ScottNZ
2013-08-29 01:30:29 +12:00
parent b44d5a87f6
commit b654b65d8d
5 changed files with 19 additions and 1 deletions

View File

@@ -106,6 +106,11 @@ namespace OpenRA.Renderer.SdlCommon
return surf;
}
public virtual void Quit()
{
Sdl.SDL_Quit();
}
int ModeFromPrimitiveType(PrimitiveType pt)
{
switch (pt)