mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 18:22:14 +00:00
Fixes some mapping errors not using the mapping error log. (#64114)
Should help prevent #64066 from reoccurring.
This commit is contained in:
@@ -350,7 +350,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