mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
[MIRROR] Fixes some mapping errors not using the mapping error log. [MDB IGNORE] (#10805)
* Fixes some mapping errors not using the mapping error log. (#64114) Should help prevent #64066 from reoccurring. * Fixes some mapping errors not using the mapping error log. Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
This commit is contained in:
@@ -349,7 +349,9 @@ Example config:
|
||||
if ("map")
|
||||
currentmap = load_map_config(data, MAP_DIRECTORY_MAPS)
|
||||
if(currentmap.defaulted)
|
||||
log_config("Failed to load map config for [data]!")
|
||||
var/error_message = "Failed to load map config for [data]!"
|
||||
log_config(error_message)
|
||||
log_mapping(error_message, TRUE)
|
||||
currentmap = null
|
||||
if ("minplayers","minplayer")
|
||||
currentmap.config_min_users = text2num(data)
|
||||
|
||||
Reference in New Issue
Block a user