1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-01-24 04:30:59 +00:00

Restrict map extraction to the player's current cell

This commit is contained in:
Diject 2026-01-03 21:37:42 +03:00
parent 4a2dad1093
commit 82c9faec2a

View file

@ -10,7 +10,7 @@ local cellCount = #world.cells
local i = cellCount
local lastTimestamp = core.getRealTime() - 50
local timeFromLast = 50
local onlyPlayerCell = false
local onlyPlayerCell = true
local function getExCellId(gridX, gridY)