Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

Commit

Permalink
made modding be more helpful with traces
Browse files Browse the repository at this point in the history
  • Loading branch information
RadiantCorium committed Jun 11, 2022
1 parent cb72457 commit e0f669b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/engine/io/Modding.hx
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ class Modding
*/
public static function getVoices(key:String, ?mod:Mod):Sound
{

trace("./assets/songs/" + key.toLowerCase() + "/Voices." + Paths.SOUND_EXT + "=>" + FileSystem.exists("./assets/songs/" + key.toLowerCase() + "/Voices." + Paths.SOUND_EXT));
if (FileSystem.exists("./assets/songs/" + key.toLowerCase() + "/Voices." + Paths.SOUND_EXT))
{
Expand All @@ -114,6 +115,8 @@ class Modding
*/
public static function getSparrow(key:String, ?seekIn:Array<String>, ?mod:Mod):FlxAtlasFrames
{
trace("GETTING SPARROW: " + key);

if (FileSystem.exists("./assets/images/" + key + ".png"))
{
trace("Found file in preload: " + key);
Expand Down Expand Up @@ -169,6 +172,8 @@ class Modding
*/
public static function getPacker(key:String, ?seekIn:Array<String>, ?mod:Mod):FlxAtlasFrames
{
trace("GETTING PACKER: " + key);

if (FileSystem.exists("./assets/images/" + key + ".png"))
{
trace("Found file in preload: " + key);
Expand Down

0 comments on commit e0f669b

Please sign in to comment.