diff options
| author | 1029chris <1029chris@gmail.com> | 2016-08-21 18:11:50 -0700 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2016-08-21 18:11:50 -0700 |
| commit | c9241f093181fed49116cd3665b7b61a77cda128 (patch) | |
| tree | 16440d1df0b5d0ec995cc9dd3cf8f749011718d4 | |
| parent | 601bd8bcf47337955657b6522f714526bd2e4422 (diff) | |
other popups all close when virus 2 appears
| -rw-r--r-- | virus2.lua | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -156,6 +156,9 @@ function drawPopups() if v2.pop.p[i].m == true then music.tension2:play() scene = 3 + for i=1,#v2.pop.p do + v2.pop.p[i].exit = true + end end elseif mouseClick(v2.pop.p[i].x+8, v2.pop.p[i].y+31, v2.pop.p[i].w-16, v2.pop.p[i].h-39) == true and v2.pop.p[i].exit == false and v2.pop.hov == i and v2.pop.p[i].dup == true then |
