mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-28 10:42:34 +00:00
Merge branch 'savedemo-titlecard-crash' into 'master'
Only save demo on exit if demobuf.p is ready Closes #648 See merge request KartKrew/Kart!1459
This commit is contained in:
commit
81b1f4f8d7
1 changed files with 4 additions and 1 deletions
|
|
@ -4182,7 +4182,10 @@ boolean G_CheckDemoStatus(void)
|
|||
|
||||
if (modeattacking || demo.savemode != DSM_NOTSAVING)
|
||||
{
|
||||
G_SaveDemo();
|
||||
if (demobuf.p)
|
||||
{
|
||||
G_SaveDemo();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue