merge upstream commit: Beds: Save respawn position when entering bed, only read bed spawns once

This commit is contained in:
tenplus1 2016-05-20 11:40:15 +01:00 committed by tchncs
parent 26a00db1c1
commit 5b36a03f02
2 changed files with 3 additions and 5 deletions

View file

@ -37,6 +37,8 @@ function beds.read_spawns()
end
end
beds.read_spawns()
function beds.save_spawns()
if not beds.spawn then
return