From c6e671376d19467cdbbdc23fb48a7fc996698265 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 26 Mar 2019 12:24:30 +0100 Subject: [PATCH] Make lightning glow in the dark --- mods/ENVIRONMENT/lightning/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/ENVIRONMENT/lightning/init.lua b/mods/ENVIRONMENT/lightning/init.lua index 0d0b7d1e..bf077105 100644 --- a/mods/ENVIRONMENT/lightning/init.lua +++ b/mods/ENVIRONMENT/lightning/init.lua @@ -117,6 +117,7 @@ lightning.strike = function(pos) -- to make the texture lightning bolt hit exactly in the middle of the -- texture (e.g. 127/128 on a 256x wide texture) texture = "lightning_lightning_" .. rng:next(1,3) .. ".png", + glow = minetest.LIGHT_MAX, }) minetest.sound_play({ pos = pos, name = "lightning_thunder", gain = 10, max_hear_distance = 500 })