mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 09:06:55 -04:00
Merge pull request #1257 from BeyondThe5D/remove-save-level-on-classic-hax
Disable save level button on Classic mode when in multiplayer
This commit is contained in:
commit
a3a78d11c2
@ -615,6 +615,9 @@ static void ClassicPauseScreen_Init(void* screen) {
|
|||||||
if (Server.IsSinglePlayer) return;
|
if (Server.IsSinglePlayer) return;
|
||||||
s->btns[1].flags = WIDGET_FLAG_DISABLED;
|
s->btns[1].flags = WIDGET_FLAG_DISABLED;
|
||||||
s->btns[3].flags = WIDGET_FLAG_DISABLED;
|
s->btns[3].flags = WIDGET_FLAG_DISABLED;
|
||||||
|
|
||||||
|
if (Game_ClassicHacks) return;
|
||||||
|
s->btns[2].flags = WIDGET_FLAG_DISABLED;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct ScreenVTABLE ClassicPauseScreen_VTABLE = {
|
static const struct ScreenVTABLE ClassicPauseScreen_VTABLE = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user