Allow zoom command to ignore zoom limits (#19419)

This commit is contained in:
Leon Friedrich
2023-08-22 21:27:41 +12:00
committed by GitHub
parent cf38f16d36
commit 4d845caa07
7 changed files with 62 additions and 36 deletions

View File

@@ -64,7 +64,7 @@ public sealed class ZoomCommand : IConsoleCommand
if (_entManager.TryGetComponent<ContentEyeComponent>(player, out var content))
{
_entManager.System<ContentEyeSystem>().RequestZoom(player.Value, zoom, content);
_entManager.System<ContentEyeSystem>().RequestZoom(player.Value, zoom, true, content);
return;
}