mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed interaction to work underwater.
This commit is contained in:
parent
13fa154e55
commit
6b71133c50
@ -669,7 +669,7 @@ pub fn handle_manipulate_loadout(
|
||||
data.terrain
|
||||
.get(pos)
|
||||
.ok()
|
||||
.and_then(|block| block.is_air().then_some(pos))
|
||||
.and_then(|block| (!block.is_filled()).then_some(pos))
|
||||
})
|
||||
};
|
||||
// Transition uses manhattan distance as the cost
|
||||
|
Loading…
Reference in New Issue
Block a user