[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:
SkyratBot
2022-01-19 17:21:17 +00:00
committed by GitHub
co-authored by ShizCalev
parent d4a3e9a564
commit 1e4ba0273c
7 changed files with 20 additions and 15 deletions
+4 -4
View File
@@ -32,7 +32,7 @@
/obj/docking_port/mobile/arrivals/register()
..()
if(SSshuttle.arrivals)
WARNING("More than one arrivals docking_port placed on map! Ignoring duplicates.")
log_mapping("More than one arrivals docking_port placed on map! Ignoring duplicates.")
SSshuttle.arrivals = src
/obj/docking_port/mobile/arrivals/LateInitialize()
@@ -47,12 +47,12 @@
areas += A
if(SSjob.latejoin_trackers.len)
WARNING("Map contains predefined latejoin spawn points and an arrivals shuttle. Using the arrivals shuttle.")
log_mapping("Map contains predefined latejoin spawn points and an arrivals shuttle. Using the arrivals shuttle.")
if(!new_latejoin.len)
WARNING("Arrivals shuttle contains no chairs for spawn points. Reverting to latejoin landmarks.")
log_mapping("Arrivals shuttle contains no chairs for spawn points. Reverting to latejoin landmarks.")
if(!SSjob.latejoin_trackers.len)
WARNING("No latejoin landmarks exist. Players will spawn unbuckled on the shuttle.")
log_mapping("No latejoin landmarks exist. Players will spawn unbuckled on the shuttle.")
return
SSjob.latejoin_trackers = new_latejoin