diff --git a/source/funkin/util/Constants.hx b/source/funkin/util/Constants.hx index 568f9ec5a..8446f0331 100644 --- a/source/funkin/util/Constants.hx +++ b/source/funkin/util/Constants.hx @@ -90,7 +90,6 @@ class Constants */ // ============================== - #if (debug || FORCE_DEBUG_VERSION) /** * The current Git branch. */ @@ -100,7 +99,6 @@ class Constants * The current Git commit hash. */ public static final GIT_HASH:String = funkin.util.macro.GitCommit.getGitCommitHash(); - #end /** * The current library versions, as provided by hmm. diff --git a/source/funkin/util/logging/CrashHandler.hx b/source/funkin/util/logging/CrashHandler.hx index ef293486d..178ef8f9e 100644 --- a/source/funkin/util/logging/CrashHandler.hx +++ b/source/funkin/util/logging/CrashHandler.hx @@ -115,6 +115,7 @@ class CrashHandler fullContents += '\n'; fullContents += 'Generated by: ${Constants.GENERATED_BY}\n'; + fullContents += ' Git hash: ${Constants.GIT_HASH}\n'; fullContents += 'System timestamp: ${DateUtil.generateTimestamp()}\n'; var driverInfo = FlxG?.stage?.context3D?.driverInfo ?? 'N/A'; fullContents += 'Driver info: ${driverInfo}\n';