Skip to content

Commit 35f8723

Browse files
committed
simple runtime fix
1 parent 9c45eec commit 35f8723

File tree

1 file changed

+4
-0
lines changed
  • code/modules/client/verbs

1 file changed

+4
-0
lines changed

code/modules/client/verbs/ooc.dm

+4
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,10 @@ GLOBAL_VAR_INIT(normal_ooc_colour, "#002eb8")
400400
var/split_size = splittext(sizes["mainwindow.split.size"], "x")
401401
var/split_width = text2num(split_size[1])
402402

403+
// Game window is minimized.
404+
if(split_width == 0)
405+
return
406+
403407
// Avoid auto-resizing the statpanel and chat into nothing.
404408
desired_width = min(desired_width, split_width - 300)
405409

0 commit comments

Comments
 (0)