|
@@ -155,10 +155,10 @@ Action.check.addRule(
|
|
if (actor instanceof Person) {
|
|
if (actor instanceof Person) {
|
|
if (action.allowedStances.indexOf(actor.stance) == -1) {
|
|
if (action.allowedStances.indexOf(actor.stance) == -1) {
|
|
if (action.actor == WorldState.player) {
|
|
if (action.actor == WorldState.player) {
|
|
- action.say = new Say("You can't do that while ", PersonStanceNames[actor.stance], ", you need to be ", PersonStanceNames[actor.stance], ".");
|
|
|
|
|
|
+ action.say = new Say("You can't do that while ", PersonStanceNames[actor.stance], ", you need to be ", PersonStanceNames[action.allowedStances[0]], ".");
|
|
}
|
|
}
|
|
- return false;
|
|
|
|
action.stop();
|
|
action.stop();
|
|
|
|
+ return false;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|