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:
Rémi Verschelde 2018-09-10 17:09:01 +02:00 committed by GitHub
commit de8522aeb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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() {