Fixes sleeping resting message spam.

This commit is contained in:
Erthilo
2012-06-27 22:34:55 +01:00
parent dc5ca56b34
commit 92b7eb534a
+4 -4
View File
@@ -1048,11 +1048,11 @@
stat = 1
if (sleeping > 0)
if(stat == 0)
// BUG: this doesn't seem to happen ever.. probably when you hit sleep willingly,
// it automatically adjusts your stat without calling this proc
if(stat == 0 && !resting)
// BUG: this doesn't seem to happen ever.. probably when you hit sleep willingly,
// it automatically adjusts your stat without calling this proc
// show them a message so they know what's going on
// show them a message so they know what's going on
src << "\blue You feel very drowsy.. Your eyelids become heavy..."
handle_dreams()