no empty passwords ... (#17137)

* no empty passwords ...

* .

* Update world.dm

* defines

* .
This commit is contained in:
Kashargul
2025-02-14 02:13:52 +01:00
committed by GitHub
parent 7369649d81
commit 3e32450e49
6 changed files with 22 additions and 8 deletions
@@ -11,7 +11,7 @@
/// Don't instantiate these yourself, use uni_icon.
/datum/universal_icon/New(icon/icon_file, icon_state="", dir=SOUTH, frame=1, datum/icon_transformer/transform=null, color=null)
#ifdef UNIT_TESTS
#ifdef UNIT_TEST
// This check is kinda slow and shouldn't fail unless a developer makes a mistake. So it'll get caught in unit tests.
if(!isicon(icon_file) || !isfile(icon_file) || "[icon_file]" == "/icon")
// bad! use 'icons/path_to_dmi.dmi' format only
@@ -85,7 +85,7 @@
/// asset_list - A list of asset filenames to be sent to the client. Can optionally be assoicated with the asset's asset_cache_item datum.
/// Returns TRUE if any assets were sent.
/datum/asset_transport/proc/send_assets(client/client, list/asset_list)
#if defined(UNIT_TESTS)
#if defined(UNIT_TEST)
return
#endif
if (!istype(client))