mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-19 12:13:38 +01:00
[MIRROR] no empty passwords ... (#10162)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
edffc6a1a5
commit
f66c9de1bf
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user