Skip to content

Variable Error Suppression

Alexedishi edited this page Jul 27, 2026 · 2 revisions

When you are using a variable only in the GUI or in localizations, the game creates errors and spams the error log. To avoid this, there is a helper scripted effect in CMF that suppresses these types of errors.

fix_variable_error = {
	variable = variable_or_flag_name
}

Usage examples can be found here.

NOTE: This works for both variables and flags.

Clone this wiki locally