Skip to content
This repository has been archived by the owner on Jan 26, 2025. It is now read-only.

Commit

Permalink
videos allowed fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MaybeMaru committed Dec 24, 2023
1 parent 8a78ad3 commit ca86c02
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/funkin/util/NoteUtil.hx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ typedef NoteTypeJson = {

class NoteUtil {
public static var swagWidth:Float = 160 * 0.7;
public static var swagHeight:Float = 155 * 0.7;
public static var swagHeight:Float = 150 * 0.7;

public static var DEFAULT_NOTE_TYPE(default, never):NoteTypeJson = {
mustHit: true,
Expand Down
6 changes: 5 additions & 1 deletion source/funkin/util/modding/FunkScript.hx
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,15 @@ class FunkScript extends hscript.Script implements IFlxDestroyable {
set('FlxEase', flixel.tweens.FlxEase);
set('FlxTrail', flixel.addons.effects.FlxTrail);

#if (cpp && !linux)
#if VIDEOS_ALLOWED
set('FlxVideo', hxcodec.flixel.FlxVideo);
set('FlxVideoSprite', hxcodec.flixel.FlxVideoSprite);
#end

#if DISCORD_ALLOWED
set("changeDiscordPresence", DiscordClient.changePresence);
#end

//HScript Functions

// DEPRECATED
Expand Down

0 comments on commit ca86c02

Please sign in to comment.