Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowMario committed Oct 2, 2024
1 parent 3d03026 commit 57df38a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions Project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
<haxelib name="hxcpp-debug-server" if="debug"/>
<haxedef name="HXC_LIBVLC_LOGGING" if="VIDEOS_ALLOWED debug" />
<haxedef name="HXVLC_NO_SHARE_DIRECTORY" if="VIDEOS_ALLOWED" />
<define name="x86_BUILD" if="32bits" />

<!-- ______________________________ Haxedefines _____________________________ -->

Expand Down
2 changes: 1 addition & 1 deletion source/psychlua/FunkinLua.hx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class FunkinLua {
set('difficulty', PlayState.storyDifficulty);

set('difficultyName', Difficulty.getString(false));
set('difficultyPath', Paths.formatToSongPath(Difficulty.getString(false)));
set('difficultyPath', Difficulty.getFilePath());
set('difficultyNameTranslation', Difficulty.getString(true));
set('weekRaw', PlayState.storyWeek);
set('week', WeekData.weeksList[PlayState.storyWeek]);
Expand Down
4 changes: 4 additions & 0 deletions source/psychlua/LuaUtils.hx
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,11 @@ class LuaUtils
public static function getBuildTarget():String
{
#if windows
#if x86_BUILD
return 'windows_x86';
#else
return 'windows';
#end
#elseif linux
return 'linux';
#elseif mac
Expand Down

0 comments on commit 57df38a

Please sign in to comment.