aboutsummaryrefslogtreecommitdiff
path: root/window.lua
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2016-11-13 17:13:14 -0800
committer1029chris <1029chris@gmail.com>2016-11-13 17:13:14 -0800
commit8d2d7e5ebff6d61365d1d250e851d8919d346b88 (patch)
tree2bfa2114d96640b414de4c7e0781a8623c1486e2 /window.lua
parente7a66c699ad6d140f04f29a835f936d7b64c01d4 (diff)
Fixed some stuff up0.1.0
Antivirus has a dying sound Antivirus discharges when dead Dialogue changes
Diffstat (limited to 'window.lua')
-rw-r--r--window.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/window.lua b/window.lua
index 21cf1e0..ec1e958 100644
--- a/window.lua
+++ b/window.lua
@@ -96,9 +96,9 @@ function drawWindow(id)
if sys.mouse.drag == true and win[id].min == false and win[id].ex == false and layer[1] == id then
if id == 4 and v1.yes == true then
windowMouseMove(id,0,sys.w-win[id].w,sys.h/2,sys.h-win[id].h-panel.thick-1)
- elseif id == 4 and v2.start == true then
+ elseif id == 4 and v2.start == true and av.dead == false then
windowMouseMove(id,0,sys.w-win[id].w,sys.h/2.4,sys.h-win[id].h-panel.thick-1)
- else
+ elseif scene == 1 and v1.yes == false and v2.start == false and av.dead == false then
windowMouseMove(id,0,sys.w-win[id].w,0,sys.h-win[id].h-panel.thick-1)
end
end