Changeset - 5ed7fdf96c32
[Not reviewed]
default
0 1 0
Silverwing - 5 years ago 2019-06-29 17:02:28

Scene text will be automatically reshown on switching lamp state
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
items.lua
Show inline comments
 
@@ -318,6 +318,7 @@ item_lamp = obj {
 
		if (here().nolamp) then
 
			return "Здесь не стоит зажигать лампу. ";
 
		end;
 
		stead.need_scene();
 
		if (me().has_light) then
 
			me().has_light = false;
 
			return "Вы гасите свет. ";
0 comments (0 inline, 0 general)