THE KILLSQUARE (does not kill)
This commit is contained in:
parent
cfcfd3e263
commit
47cae629df
10 changed files with 123 additions and 6 deletions
|
@ -14,7 +14,9 @@ function c_selectunit(unitobject) {
|
|||
}
|
||||
|
||||
function c_colortile(x, y, color) {
|
||||
if !c_tileexists(x, y) return false;
|
||||
if !array_contains(global.map[x][y], color) {
|
||||
array_push(global.map[x][y].overlays, color);
|
||||
}
|
||||
return true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue