projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaf6eac
)
Fix beds being undiggable after laying down
author
Paramat
<paramat@users.noreply.github.com>
Sat, 23 Mar 2019 23:12:44 +0000
(23:12 +0000)
committer
GitHub
<noreply@github.com>
Sat, 23 Mar 2019 23:12:44 +0000
(23:12 +0000)
mods/beds/functions.lua
patch
|
blob
|
history
diff --git
a/mods/beds/functions.lua
b/mods/beds/functions.lua
index 64c6288ebe3a7f494cde6e3b3df68703bda930b3..ae632a989d4267c4ddd92fdced0eea19f3d09751 100644
(file)
--- a/
mods/beds/functions.lua
+++ b/
mods/beds/functions.lua
@@
-59,6
+59,7
@@
local function lay_down(player, pos, bed_pos, state, skip)
if state ~= nil and not state then
local p = beds.pos[name] or nil
beds.player[name] = nil
+ beds.bed_position[name] = nil
-- skip here to prevent sending player specific changes (used for leaving players)
if skip then
return