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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user