mirror of
https://github.com/heav-4/apioform
synced 2025-01-06 15:30:32 +00:00
Fix border issues
This commit is contained in:
parent
2b75586e29
commit
4f8c92e94b
@ -342,6 +342,9 @@
|
|||||||
py=3
|
py=3
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (px+dx<0||px+dx>49||py+dy<0||py+dy>49){
|
||||||
|
maketurn=false
|
||||||
|
}
|
||||||
if (maketurn&&php>0){
|
if (maketurn&&php>0){
|
||||||
|
|
||||||
for (i in entities[px+" "+py]){
|
for (i in entities[px+" "+py]){
|
||||||
|
Loading…
Reference in New Issue
Block a user