Stop resting when pAI chassis collapses

This commit is contained in:
Samuel Novák
2015-09-05 21:53:21 +02:00
parent 8685ff42a4
commit 12a0bae5bd

View File

@@ -390,6 +390,9 @@
src.client.perspective = EYE_PERSPECTIVE
src.client.eye = card
//stop resting
resting = 0
//This seems redundant but not including the forced loc setting messes the behavior up.
src.loc = card
card.loc = get_turf(card)