Fix border issues

This commit is contained in:
heav-4 2020-07-17 01:01:51 +01:00 committed by GitHub
parent 2b75586e29
commit 4f8c92e94b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -342,6 +342,9 @@
py=3
break;
}
if (px+dx<0||px+dx>49||py+dy<0||py+dy>49){
maketurn=false
}
if (maketurn&&php>0){
for (i in entities[px+" "+py]){