diff --git a/src/commonMain/kotlin/traveling/location/location/Location.kt b/src/commonMain/kotlin/traveling/location/location/Location.kt index 823406d5..7fcd8dff 100644 --- a/src/commonMain/kotlin/traveling/location/location/Location.kt +++ b/src/commonMain/kotlin/traveling/location/location/Location.kt @@ -148,9 +148,7 @@ data class Location( } private fun addThingTo(thing: Thing, listToAddTo: NameSearchableList, proxies: List) { - if (!getThings().contains(thing)) { - listToAddTo.add(thing) - } + listToAddTo.add(thing) if (proxies.isNotEmpty()) { listToAddTo.addProxy(thing, proxies) } @@ -336,7 +334,7 @@ data class Location( } fun updateWeather(newWeather: Weather) { - if (GameState.getDebugBoolean(DebugType.VERBOSE_WEATHER)){ + if (GameState.getDebugBoolean(DebugType.VERBOSE_WEATHER)) { println("Changing Weather from ${weather.name} to ${newWeather.name}.") } lastWeatherChange = GameState.timeManager.getTicks()