diff options
| author | 1029chris <1029chris@gmail.com> | 2016-10-17 11:21:21 -0700 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2016-10-17 11:21:21 -0700 |
| commit | 3e9448f46e69a04d5e47207f9a536547f9e6e21b (patch) | |
| tree | adecf287fdcaafc9964795cfc0f6851f8d3983de /window.lua | |
| parent | 38775e9090dacbd5a663b7eb900778d0e4852046 (diff) | |
Added shotgun attack
Diffstat (limited to 'window.lua')
| -rw-r--r-- | window.lua | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -94,8 +94,10 @@ function drawWindow(id) win[id].py = win[id].y end 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 or v2.start == true) 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 + windowMouseMove(id,0,sys.w-win[id].w,sys.h/2.4,sys.h-win[id].h-panel.thick-1) else windowMouseMove(id,0,sys.w-win[id].w,0,sys.h-win[id].h-panel.thick-1) end |
