From 7bc76b66e15e5427817e31432dd91e4397948ddf Mon Sep 17 00:00:00 2001 From: Kapu1178 <75460809+Kapu1178@users.noreply.github.com> Date: Wed, 28 Feb 2024 17:04:15 -0500 Subject: [PATCH] fix storage action (#850) --- code/datums/storage/storage.dm | 3 +++ html/browser/common.css | 4 ++-- tgui/packages/tgui-panel/styles/goon/chat-dark.scss | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/code/datums/storage/storage.dm b/code/datums/storage/storage.dm index 0272b29d27ec..a0d3ecb4ce50 100644 --- a/code/datums/storage/storage.dm +++ b/code/datums/storage/storage.dm @@ -283,6 +283,9 @@ GLOBAL_LIST_EMPTY(cached_storage_typecaches) QDEL_NULL(modeswitch_action) return + if(!isnull(modeswitch_action)) + return + if(!isitem(parent)) return diff --git a/html/browser/common.css b/html/browser/common.css index 5ac9fa4a44ca..b93c048cf65b 100644 --- a/html/browser/common.css +++ b/html/browser/common.css @@ -263,7 +263,7 @@ div.notice padding: 4px; margin: 3px 0; text-align: center; - text-shadow: 0 0 5px #FFCC00; + text-shadow: 0 0 0.417em #FFCC00; overflow: hidden; font-size: 15px; font-family: monospace; @@ -286,7 +286,7 @@ div.notice } .computerText{ - text-shadow: 0 0 5px #C8C8C8; + text-shadow: 0 0 0.417em #C8C8C8; color: #ffffff; } diff --git a/tgui/packages/tgui-panel/styles/goon/chat-dark.scss b/tgui/packages/tgui-panel/styles/goon/chat-dark.scss index 2be673365334..847db519af02 100644 --- a/tgui/packages/tgui-panel/styles/goon/chat-dark.scss +++ b/tgui/packages/tgui-panel/styles/goon/chat-dark.scss @@ -285,7 +285,7 @@ em { .ooc { color: #cca300; font-weight: bold; - text-shadow: 0 0 2px #db7900; + text-shadow: 0 0 0.15em #db7900; } .looc { @@ -418,6 +418,7 @@ em { .bolddanger { color: #dd3535; + text-shadow: 0 0 0.3em #FF0000; font-weight: bold; }