Fixed fog controller not recreated when existing controller is deleted.
This commit is contained in:
parent
4c5363d73e
commit
4464e46d37
|
@ -315,6 +315,7 @@ VAmbienceApplyFog(bool:override = false)
|
||||||
{
|
{
|
||||||
// Delete fog.
|
// Delete fog.
|
||||||
AcceptEntityInput(fogindex, "Kill");
|
AcceptEntityInput(fogindex, "Kill");
|
||||||
|
fogindex = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user