mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 10:52:25 +01:00
Complain about ugly soul sand speed code
This commit is contained in:
parent
1f4f6a0e84
commit
1f3d14e0b0
@ -78,6 +78,7 @@ minetest.register_globalstep(function(dtime)
|
||||
if playerplus[name].nod_stand == "mcl_nether:soul_sand" then
|
||||
-- TODO: Tweak walk speed
|
||||
-- TODO: Also slow down mobs
|
||||
-- FIXME: This whole speed thing is a giant hack. We need a proper framefork for cleanly handling player speeds
|
||||
local below = playerplus[name].nod_stand_below
|
||||
if below == "mcl_core:ice" or below == "mcl_core:packed_ice" or below == "mcl_core:slimeblock" then
|
||||
def.speed = def.speed - 0.9
|
||||
|
Loading…
Reference in New Issue
Block a user