Skip to content

Commit

Permalink
v2.3.2
Browse files Browse the repository at this point in the history
Quick fix for stopping the random commands process during pause time
  • Loading branch information
sterling-tenn committed Jun 12, 2021
1 parent ee52ef0 commit e5077cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import ctypes


version = "v2.3.1"
version = "v2.3.2"

with open("data\config.txt","r") as file:
info = file.read()
Expand Down Expand Up @@ -85,6 +85,8 @@ def print_log(string):

def pause_program():
global spam_process
global random_command_process

if "spam_process" in globals():# So the program isn't paused right away (Checks if the variable "process" exists yet)
stop_process(spam_process)
stop_process(random_command_process)
Expand Down

0 comments on commit e5077cc

Please sign in to comment.