mirror of
https://github.com/godotengine/godot.git
synced 2024-11-25 21:52:51 +00:00
Merge pull request #21846 from Calinou/tweak-light-instance-error
Tweak the Light instantiation error message and fix a typo
This commit is contained in:
commit
de8522aeb6
@ -312,7 +312,7 @@ Light::Light(VisualServer::LightType p_type) {
|
||||
Light::Light() {
|
||||
|
||||
type = VisualServer::LIGHT_DIRECTIONAL;
|
||||
ERR_PRINT("Light shouldn't be instanced dircetly, use the subtypes.");
|
||||
ERR_PRINT("Light should not be instanced directly; use the DirectionalLight, OmniLight or SpotLight subtypes instead.");
|
||||
}
|
||||
|
||||
Light::~Light() {
|
||||
|
Loading…
Reference in New Issue
Block a user