81 {
82 TextWidget version_widget = TextWidget.Cast(layoutRoot.FindAnyWidget("version"));
83 string version;
85 version_widget.SetText("#main_menu_version" + " " + version);
86
87 #ifdef PREVIEW_BUILD
88 version_widget.SetText("THIS IS PREVIEW");
89 #endif
90 }
proto void GetVersion(out string version)
proto native CGame GetGame()