1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-10-31 23:30:31 +01:00
Commit Graph

14 Commits

Author SHA1 Message Date
paramat
809e5933c4 Beds: Strip colour bits from param2 in 'get look yaw'
Based on code by github user 'hdak1945git'.
Fixes a crash when 'colorfacedir' param2 is used for beds.
2017-09-28 20:49:34 +01:00
paramat
eec1c5a03b Settings: Use new settings object 2017-05-24 07:18:26 +01:00
Auke Kok
75caa9167c Fix whitespace errors to silence luacheck.
Currently all minetest_game PR's are failing travis since the
upstream luacheck now also warns about whitespace issues, and
there are a few of those in the code. This fixes all of them
so we can yet again rely on luacheck.
2016-11-19 19:39:51 -08:00
SmallJoker
ea49eb3f3d Beds, boats: Replace deprecated get_look_yaw/set_look_yaw 2016-07-27 21:39:22 +01:00
adrido
d89bb69a22 Beds: Only register respawn callbacks if respawn is enabled 2016-07-15 22:00:57 +01:00
Tim
4473627de0 Remove unused and clean up missused variable-value assignments.
* Unused variables
* Unused values (assigned to variables, but overwritten before use)
* Defining already defined variables instead of reassigning to them.
2016-07-15 21:58:49 +01:00
tenplus1
d7a7456007 Beds: Save respawn position when entering bed, only read bed spawns once
No longer require night to be skipped for resawn position to be saved
Remove constant beds.read_spawns() calls when a player joins as this
is only required once
2016-07-13 14:45:30 +01:00
paramat
45bc0b245f Beds: Fix code style issues 2016-03-09 02:44:32 +00:00
Marcin
b292975fbc Use PI variable rather than unclear constant 2015-10-20 00:26:19 +01:00
LeMagnesium
279b85fc45 Add option to disable bed's night skip - Solve second point of #512 by adding a setting, enable_bed_night_skip , with default value of true. 2015-09-29 01:25:40 +01:00
Novatux
3669ca0a83 Make beds not skip night if nobody is online 2015-05-14 14:41:26 +02:00
BlockMen
41837e6193 Fix beds respawn settings check 2015-03-06 19:29:16 +01:00
BlockMen
2a6050e552 Add option to disable bed respawn, better recipe for fancy bed 2015-03-06 10:46:05 +01:00
BlockMen
edb02e9d33 Add beds 2015-02-24 20:59:04 +01:00