Submit shutdown tuning without Unity settings gates
This commit is contained in:
parent
cb81da057f
commit
d72dd469b5
2 changed files with 16 additions and 1 deletions
|
|
@ -1546,7 +1546,7 @@ public class ActionGameManager : MonoBehaviour
|
|||
|
||||
public void RequestEntityShutdownPerformance(Entity entity, float shutdownPerformance)
|
||||
{
|
||||
if (entity?.Settings == null)
|
||||
if (entity == null)
|
||||
return;
|
||||
|
||||
if (TryRequestDaemonEntityShutdownPerformance(entity, shutdownPerformance))
|
||||
|
|
|
|||
Loading…
Reference in a new issue