mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 12:08:52 +00:00
format
This commit is contained in:
parent
26a6b06b8a
commit
48bf5735a2
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user