Skip to content

Commit

Permalink
Update CopyState.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
mcagabe19 authored Oct 20, 2024
1 parent 1fe5b83 commit 2ea9a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/mobile/funkin/backend/system/CopyState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class CopyState extends funkin.backend.MusicBeatState

public function getFileBytes(file:String):ByteArray
{
switch (Path.extension(file))
switch (Path.extension(file).toLowerCase())
{
case 'otf' | 'ttf':
return ByteArray.fromFile(file);
Expand Down

0 comments on commit 2ea9a00

Please sign in to comment.