From a2712607137b820e4f4a875636b04e32b59a53c9 Mon Sep 17 00:00:00 2001 From: navewindre Date: Sun, 2 Sep 2018 00:10:54 +0200 Subject: a --- internal_rewrite/ui.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'internal_rewrite/ui.h') 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( ) ); -- cgit v1.2.3