diff --git a/Assets/Materials/Levels/Level0/CeilLightMaterial.mat b/Assets/Materials/Levels/Level0/CeilLightMaterial.mat index 354b23f..715777f 100644 --- a/Assets/Materials/Levels/Level0/CeilLightMaterial.mat +++ b/Assets/Materials/Levels/Level0/CeilLightMaterial.mat @@ -206,7 +206,7 @@ Material: - _StencilWriteMask: 6 - _StencilWriteMaskDepth: 8 - _StencilWriteMaskGBuffer: 14 - - _StencilWriteMaskMV: 40 + - _StencilWriteMaskMV: 42 - _SubsurfaceMask: 1 - _SupportDecals: 1 - _SurfaceType: 0 diff --git a/Assets/Scripts/Item/Pistol/BulletComponent.cs b/Assets/Scripts/Item/Pistol/BulletComponent.cs index d51f14b..e9b0be9 100644 --- a/Assets/Scripts/Item/Pistol/BulletComponent.cs +++ b/Assets/Scripts/Item/Pistol/BulletComponent.cs @@ -38,7 +38,9 @@ namespace Item if (existed >= duration) { register.bullets.Remove(this); + InstanceFinder.ServerManager.Despawn(gameObject); Destroy(gameObject); + } existed += Time.fixedDeltaTime;