summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/newgrf_object.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/newgrf_object.cpp b/src/newgrf_object.cpp
index e38fa9c9e..19507c326 100644
--- a/src/newgrf_object.cpp
+++ b/src/newgrf_object.cpp
@@ -99,9 +99,6 @@ void ResetObjects()
template <typename Tspec, typename Tid, Tid Tmax>
/* static */ void NewGRFClass<Tspec, Tid, Tmax>::InsertDefaults()
{
- /* We only add the transmitters in the scenario editor. */
- if (_game_mode != GM_EDITOR) return;
-
ObjectClassID cls = ObjectClass::Allocate('LTHS');
ObjectClass::Get(cls)->name = STR_OBJECT_CLASS_LTHS;
_object_specs[OBJECT_LIGHTHOUSE].cls_id = cls;