You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Properly skip printing version header with --no-header
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
This commit is contained in:
committed by
Rémi Verschelde
parent
7c6e85de0d
commit
93559db3a2
@@ -266,6 +266,12 @@ void Engine::print_header(const String &p_string) const {
|
||||
}
|
||||
}
|
||||
|
||||
void Engine::print_header_rich(const String &p_string) const {
|
||||
if (_print_header) {
|
||||
print_line_rich(p_string);
|
||||
}
|
||||
}
|
||||
|
||||
void Engine::add_singleton(const Singleton &p_singleton) {
|
||||
ERR_FAIL_COND_MSG(singleton_ptrs.has(p_singleton.name), vformat("Can't register singleton '%s' because it already exists.", p_singleton.name));
|
||||
singletons.push_back(p_singleton);
|
||||
|
||||
Reference in New Issue
Block a user