build system revision
[carveJwlIkooP6JGAAIwe30JlM.git] / ent_skateshop.c
index 251a58595addae93f9f51c241159612c811c04cb..86fc9714d039dd11f0563d4d845f9dec084114e1 100644 (file)
@@ -1,8 +1,3 @@
-#ifndef ENT_SKATESHOP_C
-#define ENT_SKATESHOP_C
-
-#define VG_GAME
-#include "vg/vg.h"
 #include "vg/vg_steam_ugc.h"
 #include "vg/vg_msg.h"
 #include "ent_skateshop.h"
@@ -10,7 +5,6 @@
 #include "player.h"
 #include "gui.h"
 #include "menu.h"
-#include "highscores.h"
 #include "steam.h"
 #include "addon.h"
 #include "save.h"
@@ -812,9 +806,9 @@ static void ent_skateshop_call( world_instance *world, ent_call *call ){
          vg_str text;
          global_skateshop.helper_pick = gui_new_helper(
                      input_button_list[k_srbind_maccept], &text);
+         if( gui_new_helper( input_button_list[k_srbind_mback], &text ))
+            vg_strcat( &text, "exit" );
          skateshop_server_helper_update();
       }
    }
 }
-
-#endif /* ENT_SKATESHOP_C */