Terraxz/TerraxLighting

Cannot modify player brightness

Closed this issue · 1 comments

GetPlayerBrightness is setting instead of returning the value

	Game_Variables.prototype.GetPlayerBrightness = function(value) {
		this._Terrax_Lighting_PlayerBrightness = value || 0.0;
	};

should be changed to

	Game_Variables.prototype.GetPlayerBrightness = function() {
		return this._Terrax_Lighting_PlayerBrightness || 0.0;
	};

I see this has been resolved with the fork in Community_Lighting.
So I'm closing this and see that this repo has not been updated for the past 4 years.