mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Fixed TGUI Not refocusing mapwindow
This commit is contained in:
@@ -140,6 +140,7 @@
|
|||||||
log_tgui(client, "[id]/close: suspending")
|
log_tgui(client, "[id]/close: suspending")
|
||||||
status = TGUI_WINDOW_READY
|
status = TGUI_WINDOW_READY
|
||||||
send_message("suspend")
|
send_message("suspend")
|
||||||
|
winset(client, null, "mapwindow.map.focus=true")
|
||||||
return
|
return
|
||||||
log_tgui(client, "[id]/close")
|
log_tgui(client, "[id]/close")
|
||||||
release_lock()
|
release_lock()
|
||||||
@@ -149,7 +150,7 @@
|
|||||||
// to read the error message.
|
// to read the error message.
|
||||||
if(!fatally_errored)
|
if(!fatally_errored)
|
||||||
client << browse(null, "window=[id]")
|
client << browse(null, "window=[id]")
|
||||||
|
winset(client, null, "mapwindow.map.focus=true")
|
||||||
/**
|
/**
|
||||||
* public
|
* public
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user