Learwolf / TES3MP-0.8-Scripts

A list of my tes3mp server Lua scripts available for public use.
13 stars 5 forks source link

Fix `periodicCellResets.exemptCellNamesExact` not being handled correctly. #6

Closed HotaruBlaze closed 2 years ago

HotaruBlaze commented 2 years ago

string.match() does a pattern/fuzzy match that incorrectly handles external cells, meaning cell -2, 10 will also match -2, -10, aswell as -2, 104 to -2, -10

This is fine for periodicCellResets.exemptCellNamesLike, however not periodicCellResets.exemptCellNamesExact. So we have to handle them both differently.

This also makes tempMerge pointless, so it was removed.