Add Text displaying if the user is running an Experimental Version of CodenameEngine (#933)

* cmon github actions, do something

* this will make it easier to know if a user is running an experimental version :trollface:
This commit is contained in:
ItsLJcool
2026-03-29 04:18:46 +07:00
committed by GitHub
parent 3266e22562
commit 5957a55b96
4 changed files with 9 additions and 4 deletions
@@ -13,8 +13,13 @@ class CodenameBuildField extends TextField {
}
public function reload() {
#if COMPILE_EXPERIMENTAL
text = '${Flags.VERSION_MESSAGE} (Experimental Build)';
#else
text = '${Flags.VERSION_MESSAGE}';
#if debug
#end
#if (debug || COMPILE_EXPERIMENTAL)
text += '\n${Flags.COMMIT_MESSAGE}';
#end
}