Removed console spam

develop
Warmist 2012-11-29 17:16:58 +02:00
parent 7f23c1f55f
commit 2d4fc739ed
1 changed files with 1 additions and 1 deletions

@ -409,7 +409,7 @@ function usetool:onInput(keys)
local cur_mode=dig_modes[(mode or 0)+1] local cur_mode=dig_modes[(mode or 0)+1]
local failed=false local failed=false
for code,_ in pairs(keys) do for code,_ in pairs(keys) do
print(code) --print(code)
if MOVEMENT_KEYS[code] then if MOVEMENT_KEYS[code] then
local state={unit=adv,pos=moddedpos(adv.pos,MOVEMENT_KEYS[code]),dir=MOVEMENT_KEYS[code], local state={unit=adv,pos=moddedpos(adv.pos,MOVEMENT_KEYS[code]),dir=MOVEMENT_KEYS[code],
old_pos={x=adv.pos.x,y=adv.pos.y, z=adv.pos.z}} old_pos={x=adv.pos.x,y=adv.pos.y, z=adv.pos.z}}