Skip to content

Commit

Permalink
Fix crash in map:initializePhysics()
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmcwatters committed Dec 21, 2019
1 parent 938608c commit 27f69dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/shared/map/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 27f69dd

Please # to comment.