Expose the default font and cursor sheet size settings to mod.yaml

This commit is contained in:
RoosterDragon
2024-08-26 16:31:22 +01:00
committed by Gustas
parent 32bc99a11a
commit dd9aca83dd
4 changed files with 14 additions and 6 deletions

View File

@@ -496,7 +496,7 @@ namespace OpenRA
Renderer.InitializeDepthBuffer(grid);
Cursor?.Dispose();
Cursor = new CursorManager(ModData.CursorProvider);
Cursor = new CursorManager(ModData.CursorProvider, ModData.Manifest.CursorSheetSize);
var metadata = ModData.Manifest.Metadata;
if (!string.IsNullOrEmpty(metadata.WindowTitle))