Tweak the Light instantiation error message and fix a typo

This commit is contained in:
Hugo Locurcio
2018-09-07 22:36:39 +02:00
parent 4b6846a59d
commit d789cbeb6b

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