mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-16 02:56:09 -04:00
Fix #539 (oops, thanks igor725)
This commit is contained in:
parent
ce2924cf4c
commit
95252e67ca
@ -2168,7 +2168,7 @@ struct Screen* MenuOptionsScreen_MakeInstance(struct Widget** widgets, Int32 cou
|
||||
|
||||
s->ExtHelp.LinesCount = 0;
|
||||
s->VTABLE = &MenuOptionsScreen_VTABLE;
|
||||
s->VTABLE->ContextLost = MenuOptionsScreen_ContextLost;
|
||||
s->VTABLE->ContextLost = MenuOptionsScreen_ContextLost;
|
||||
s->VTABLE->ContextRecreated = contextRecreated;
|
||||
|
||||
s->Buttons = buttons;
|
||||
|
@ -1137,7 +1137,7 @@ static void ChatScreen_Render(void* screen, Real64 delta) {
|
||||
}
|
||||
}
|
||||
|
||||
if (s->Announcement.Texture.ID && Chat_Announcement.Received + (5 * 1000) >= now) {
|
||||
if (s->Announcement.Texture.ID && now > Chat_Announcement.Received + (5 * 1000)) {
|
||||
Elem_TryFree(&s->Announcement);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user