Disable weather in netgames

Some people like to lag up the whole server by enabling precip, so y'know what, just turn it off in netgames. Weather can just stay a Record Attack/splitscreen only feature now I guess
This commit is contained in:
TehRealSalt 2018-06-04 22:56:58 -04:00
parent b4757779cd
commit d5a2fb9317
1 changed files with 2 additions and 1 deletions

View File

@ -9169,7 +9169,8 @@ void P_SpawnPrecipitation(void)
subsector_t *precipsector = NULL;
precipmobj_t *rainmo = NULL;
if (dedicated || !cv_precipdensity.value || curWeather == PRECIP_NONE)
if (dedicated || !cv_precipdensity.value || curWeather == PRECIP_NONE
|| netgame) // SRB2Kart
return;
// Use the blockmap to narrow down our placing patterns