Working on effect bubbles (visual indicators for awareness state changes)

This commit is contained in:
2014-06-15 14:02:48 -07:00
parent 779e90b84b
commit d1adb83cd6

View File

@@ -706,7 +706,7 @@ var AISprite = function(game, x, y, key, frame) {
} else if ( state == STATE_CONCERNED ) {
animkey = "concerned";
} else if ( state == STATE_LOSTHIM ) {
if ( this.sprite_group == "townsfolk_guard" ) {
if ( this.sprite_group == "townsfolk-guard" ) {
animkey = "angry";
} else {
animkey = "relieved";