put stupid IA off before sleep, it can load 100% CPU
This commit is contained in:
parent
9e910f0157
commit
518f2b409a
|
@ -1,4 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
/*
|
||||||
function place_ship_on_map($x1,$y1,$x2,$y2,$map){
|
function place_ship_on_map($x1,$y1,$x2,$y2,$map){
|
||||||
if ((($x1 <> $x2) && ($y1 <> $y2))
|
if ((($x1 <> $x2) && ($y1 <> $y2))
|
||||||
OR (!isset($map[$y1][$x1]))
|
OR (!isset($map[$y1][$x1]))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user