Skip to content

Commit

Permalink
Code Quality #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinkkuu committed Sep 21, 2023
1 parent def3249 commit b9e0fc9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,10 @@ def respawn():
for a in range(1,1000):place=False;pos=random.randint(1,x+100)//2,random.randint(1,y+100)//2;foodpos.append((pos[0],pos[1],random.randint(1,2)))
def reload():
global aix,aiy,aipos,foodcount,health,worldtype,seed,x,y,radius,playersize,foodpos,gamemode,aitrigger,collide,aitime,aipot,wmenu,chunks,multipos,multinames
x=0;y=0;aix=0;aiy=0;health=100;gamemode=gamemodes[0]
x=0
y=0
health=100
gamemode=gamemodes[0]
if os.path.isfile(gamepath+savename):
clear((0, 0, 0))
filesize=os.stat(gamepath+savename).st_size
Expand Down

0 comments on commit b9e0fc9

Please sign in to comment.