diff options
| author | 1029chris <1029chris@gmail.com> | 2016-04-20 10:48:12 -0700 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2016-04-20 10:48:12 -0700 |
| commit | f7c70cec2946b25ca050796d7c9160044717ce29 (patch) | |
| tree | 9c5437b6ebef05c74c3ae7092e1369581b7874ca /system.lua | |
| parent | 5b9e47c1f86fbcd910d96b5d5c76c5d3b7fbf31c (diff) | |
Added timer for messages
Now they appear on their own.
Start menu no longer activates messages
Diffstat (limited to 'system.lua')
| -rw-r--r-- | system.lua | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3,6 +3,10 @@ function drawLayer(id) end function updateSystem(dt) timeNoti(dt) + if time >= msgstime[msg.c] and msgssent < msg.c then + sendMessage(1, msgs[msg.c]) + msgssent = msgssent + 1 + end end function drawSystem() love.graphics.setBackgroundColor(0, 128, 128) |
