Full bright bug that took too long to fix
I need sleep
This commit is contained in:
1 parent
bb059f7080
commit
0d8867dd68
1 file changed
+2
@@ -967,6 +967,8 @@ namespace CalamityMod.ILEditing
|
||||
private static void MakeSulphSeaWaterBetter(On.Terraria.Graphics.Light.TileLightScanner.orig_GetTileLight orig, TileLightScanner self, int x, int y, out Vector3 outputColor)
|
||||
{
|
||||
orig(self, x, y, out outputColor);
|
||||
if (outputColor == Vector3.One || outputColor == new Vector3(0.25f, 0.25f, 0.25f) || outputColor == new Vector3(0.5f, 0.5f, 0.5f))
|
||||
return;
|
||||
|
||||
Tile tile = CalamityUtils.ParanoidTileRetrieval(x, y);
|
||||
if (tile.LiquidAmount <= 0 || tile.HasTile || (Main.waterStyle != ModContent.Find<ModWaterStyle>("CalamityMod/SulphuricWater").Slot &&
|
||||
|
||||
Reference in new issue
Block a user