Assorted token golf in rope logic #25

Merged
pyrex merged 7 commits from kistaro/chameleonic:rope_golf into main 2023-01-03 01:06:57 +00:00
Showing only changes of commit a177660344 - Show all commits

View File

@ -659,8 +659,7 @@ end
-- must be a free function -- must be a free function
-- to use as a foreach target -- to use as a foreach target
function level_tug_crate(t) function level_tug_crate(t)
local self=level local self,mx0,my0,dmx,dmy=level,unpack(t)
local mx0,my0,dmx,dmy=unpack(t)
local mxy0=_mix{mx0,my0} local mxy0=_mix{mx0,my0}
local existing=self._crates[mxy0] local existing=self._crates[mxy0]
if (not existing) return if (not existing) return