this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

#2602: better fix for bytebattle mode

nesbox c3218e24 721baf75

+12 -8
+8 -8
src/studio/studio.c
··· 2809 2809 if(args.cli) 2810 2810 args.skip = true; 2811 2811 2812 - if(args.skip) 2813 - setStudioMode(studio, TIC_CONSOLE_MODE); 2814 - 2815 2812 #if defined(BUILD_EDITORS) 2816 - Bytebattle* bb = getBytebattle(studio); 2817 - 2818 - if(bb) 2813 + if(args.skip) 2819 2814 { 2820 - studio->console->tick(studio->console); 2821 - gotoCode(studio); 2815 + if(getBytebattle(studio)) 2816 + { 2817 + studio->console->tick(studio->console); 2818 + gotoCode(studio); 2819 + } 2820 + else 2821 + setStudioMode(studio, TIC_CONSOLE_MODE); 2822 2822 } 2823 2823 #endif 2824 2824
+4
src/studio/studio.h
··· 289 289 void fadePalette(tic_palette* pal, s32 value); 290 290 bool project_ext(const char* name); 291 291 292 + #if defined(BUILD_EDITORS) 293 + 292 294 typedef struct 293 295 { 294 296 char* exp; ··· 322 324 } Bytebattle; 323 325 324 326 Bytebattle* getBytebattle(Studio* studio); 327 + 328 + #endif