Closed fortysixandtwo closed 3 years ago
This patch uses LuaPlayerBuiltEntityEventFilters to make sure that the TLBE.Main.entity_built () callback is not called for vehicles.
TLBE.Main.entity_built ()
Additionaly during base size recalculation we skip entities of type car (currently cars and tanks).
car
Fixes #22
Please note, that I haven't yet tested this patch (will probably do it soon-ish).
I verified that without this fix the base tracker is indeed influenced by placing vehicles (car, tank, spidertron) and with this fix the base tracker does not care about them anymore :+1:
This patch uses LuaPlayerBuiltEntityEventFilters to make sure that the
TLBE.Main.entity_built ()
callback is not called for vehicles.Additionaly during base size recalculation we skip entities of type
car
(currently cars and tanks).Fixes #22
Please note, that I haven't yet tested this patch (will probably do it soon-ish).