frakits pls

This commit is contained in:
Hero
2025-08-01 20:35:02 +03:00
committed by GitHub
parent 4ef946f74a
commit 581b537532
+1 -4
View File
@@ -63,11 +63,8 @@ final class WindowUtils {
* @param image The image to set as the icon.
**/
public static inline function setWindow(?name:String, ?image:String)
{
// Coded by HeroEyad using Pigeon Text Editor v2.03 (E.G.E. Edition)
Lib.application.window.setIcon(lime.graphics.Image.fromBytes(Assets.getBytes(image != null ? image : Flags.MOD_ICON)));
{ Lib.application.window.setIcon(lime.graphics.Image.fromBytes(Assets.getBytes(image != null ? image : Flags.MOD_ICON)));
title = name != null ? name : Flags.MOD_NAME;
// End of HeroEyad Code. Coded by HeroEyad.
}
/**