map events or whatever

This commit is contained in:
the me 2022-08-23 02:25:43 -07:00
parent b0e718f879
commit 856b518593
28 changed files with 185 additions and 29 deletions

View file

@ -18,7 +18,8 @@ function c_selectunit(unitobject) {
}
function c_deselectunit(unitobject) {
if ARTICULATOR.selectedunit != unitobject return false
if ARTICULATOR.selectedunit != unitobject return false;
if unitobject == noone return false;
unitobject.sprite_index = unitobject.data.idle;
state = st_standing;
drawstate = c_null;