diff --git a/core/compressed_translation.cpp b/core/compressed_translation.cpp index 19851c4fad8..9085802d56c 100644 --- a/core/compressed_translation.cpp +++ b/core/compressed_translation.cpp @@ -45,6 +45,7 @@ struct _PHashTranslationCmp { void PHashTranslation::generate(const Ref &p_from) { #ifdef TOOLS_ENABLED + ERR_FAIL_COND(p_from.is_null()); List keys; p_from->get_message_list(&keys);