summaryrefslogtreecommitdiff
path: root/internal_rewrite/ui.h
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2018-09-02 00:10:54 +0200
committernavewindre <boneyaard@gmail.com>2018-09-02 00:10:54 +0200
commita2712607137b820e4f4a875636b04e32b59a53c9 (patch)
tree18eb47286b33baf93629f6a8f939bde5f01e85f5 /internal_rewrite/ui.h
parent25ecefe33613fb1d12e005efa73f92dc16090624 (diff)
a
Diffstat (limited to 'internal_rewrite/ui.h')
-rw-r--r--internal_rewrite/ui.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/internal_rewrite/ui.h b/internal_rewrite/ui.h
index 4d1ec8e..3dfb551 100644
--- a/internal_rewrite/ui.h
+++ b/internal_rewrite/ui.h
@@ -17,13 +17,15 @@
#include "settings.hpp"
#include "base_cheat.hpp"
+#include "modules.hpp"
+
namespace ui
{
int current_category = 0;
static std::string date_str = __DATE__;
auto menu = std::make_shared< ui::c_menu >( 10, 10, 580, 470, xors( "quebot" ),
- __DATE__ );
+ "" );
static void render( ) {
static bool was_setup = false;
@@ -35,8 +37,12 @@ namespace ui
menu.reset( );
#ifndef _DEBUG
+ date_str = g_header.username;
+
+
menu = std::make_shared< ui::c_menu >( 10, 10, 580, 470, xors( "hit p hook" ),
- date_str.c_str( ) );
+ //don't ask
+ date_str.c_str( ) );
#else
menu = std::make_shared< ui::c_menu >( 10, 10, 580, 470, xors( "moneybot (cooler edition)" ),
date_str.c_str( ) );