This commit is contained in:
JohnCorby 2022-10-05 16:55:51 -07:00
parent 26a6b06b8a
commit 48bf5735a2

View File

@ -5,7 +5,7 @@ using UnityEngine;
namespace QSB.ItemSync.WorldObjects.Items;
public class QSBDreamLanternItem : QSBItem<DreamLanternItem>
public class QSBDreamLanternItem : QSBItem<DreamLanternItem>
{
private Material[] _materials;
@ -27,7 +27,7 @@ public class QSBDreamLanternItem : QSBItem<DreamLanternItem>
// Fixes #502: Artifact is visible through the walls
if (AttachedObject._lanternType != DreamLanternType.Nonfunctioning)
{
foreach (Material m in _materials)
foreach (var m in _materials)
{
if (m.renderQueue >= 2000)
{
@ -46,7 +46,7 @@ public class QSBDreamLanternItem : QSBItem<DreamLanternItem>
if (AttachedObject._lanternType != DreamLanternType.Nonfunctioning)
{
foreach (Material m in _materials)
foreach (var m in _materials)
{
if (m.renderQueue < 2000)
{