diff options
| author | 1029chris <1029chris@gmail.com> | 2016-04-23 00:30:57 -0700 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2016-04-23 00:30:57 -0700 |
| commit | 37e581069ce4b147f00f7fb32ad3bd8d444d3e96 (patch) | |
| tree | d366137e4ae7f303eec2346a0f7d35b0e2c0ce66 | |
| parent | dcf65f619aa1060d07a2470b067ecde6e02ff928 (diff) | |
Virus now states a virus has been found
| -rw-r--r-- | antivirus.lua | 6 | ||||
| -rw-r--r-- | virus1.lua | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/antivirus.lua b/antivirus.lua index 32e3769..32eebbe 100644 --- a/antivirus.lua +++ b/antivirus.lua @@ -28,6 +28,10 @@ function updateAntivirus() if antivirus.prog >= 174 then antivirus.prog = 174 antivirus.scanning = false - antivirus.status = "0 Viruses Found" + if v1.yes == true then + antivirus.status = "VIRUS FOUND!" + else + antivirus.status = "0 Viruses Found" + end end end @@ -30,6 +30,7 @@ function drawVirusFight1() win[4].x = sys.w/2-100+7 win[4].y = sys.h/2-75 layer.sentToFront = 4 + antivirus.scanning = true end if v1.c.chat.msgs > 7 then orderWindows() |
