mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-02-08 07:38:06 +00:00
Adds some crash reports to character loading (#20847)
* runtime solver * im stupid and forgot how to use stack trace * Im stupid and commited the wrong file
This commit is contained in:
@@ -457,11 +457,15 @@
|
||||
|
||||
//Sanitize
|
||||
var/datum/species/SP = GLOB.all_species[species]
|
||||
if(!SP)
|
||||
stack_trace("Couldn't find a species matching [species], character name is [real_name].")
|
||||
|
||||
metadata = sanitize_text(metadata, initial(metadata))
|
||||
real_name = reject_bad_name(real_name, TRUE)
|
||||
|
||||
if(isnull(species))
|
||||
species = "Human"
|
||||
stack_trace("Character doesn't have a species, character name is [real_name]. Defaulting to human.")
|
||||
|
||||
if(isnull(language))
|
||||
language = "None"
|
||||
|
||||
Reference in New Issue
Block a user