"On landing" actions no longer triggered when player lands away from an airfield

This commit is contained in:
Ambroise Garel
2025-09-18 22:03:11 +02:00
parent 92a00160ef
commit 591ec6e10a
6 changed files with 12 additions and 9 deletions
+1 -1
View File
@@ -335,7 +335,7 @@ do
return
end
if event.id == world.event.S_EVENT_LAND then
if event.id == world.event.S_EVENT_LAND and event.place then
onLandEvent(event)
return
end