From ffeda27c1b0ea76e525269d1e9a02e16a26bc787 Mon Sep 17 00:00:00 2001 From: juanjp600 Date: Wed, 5 Oct 2016 16:58:44 -0300 Subject: [PATCH] Restored change lost in conflict resolve Also checking for itemprefab because adding structures wouldn't make any sense here --- Subsurface/Source/Networking/GameServerSettings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Subsurface/Source/Networking/GameServerSettings.cs b/Subsurface/Source/Networking/GameServerSettings.cs index 1fb8db2c6..fee793ddb 100644 --- a/Subsurface/Source/Networking/GameServerSettings.cs +++ b/Subsurface/Source/Networking/GameServerSettings.cs @@ -506,7 +506,7 @@ namespace Barotrauma.Networking foreach (MapEntityPrefab pf in MapEntityPrefab.list) { - if (pf.Price <= 0.0f) continue; + if (!(pf is ItemPrefab) || (pf.Price <= 0.0f && !pf.tags.Contains("smallitem"))) continue; GUITextBlock textBlock = new GUITextBlock( new Rectangle(0, 0, 260, 25),