From 27f69dd0bbc93c7a3a9983334a5a889057baf099 Mon Sep 17 00:00:00 2001 From: Andrew McWatters Date: Sat, 21 Dec 2019 12:20:19 -0700 Subject: [PATCH] Fix crash in map:initializePhysics() --- engine/shared/map/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/shared/map/init.lua b/engine/shared/map/init.lua index a1bd5c57..00e2217a 100644 --- a/engine/shared/map/init.lua +++ b/engine/shared/map/init.lua @@ -418,6 +418,7 @@ end function map:initializePhysics() -- If the map has trigger_transitions, let level designers set -- up nodraws themselves. + require( "engine.shared.entities.entity" ) if ( entity.findByClassname( "trigger_transition", self ) ) then return false end