[MIRROR] Fixes click catcher failing to be reapplied onto the screen when show_hud is called [MDB IGNORE] (#15371)

* Fixes click catcher failing to be reapplied onto the screen when show_hud is called (#68853)

Done stuff

Co-authored-by: Watermelon914 <hidden@ hidden.com>

* Fixes click catcher failing to be reapplied onto the screen when show_hud is called

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
Co-authored-by: Watermelon914 <hidden@ hidden.com>
This commit is contained in:
SkyratBot
2022-08-04 16:48:56 +02:00
committed by GitHub
parent 7f675eea57
commit 0139fea6d9
+1 -1
View File
@@ -482,7 +482,6 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
send_resources()
generate_clickcatcher()
apply_clickcatcher()
if(prefs.lastchangelog != GLOB.changelog_hash) //bolds the changelog button on the interface so we know there are updates.
@@ -1123,6 +1122,7 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
/client/proc/generate_clickcatcher()
if(!void)
void = new()
if(!(void in screen))
screen += void
/client/proc/apply_clickcatcher()