fix wrong use of GetAction in shovel

epoxy
Maikel de Vries 2016-01-31 22:40:40 +01:00
parent 03d11cd596
commit 39e86474fc
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ private func Hit()
private func Destruction()
{
if (Contained())
if (Contained()->GetAction("Dig"))
if (Contained()->GetAction())
{
// We assume that the clonk digs with this shovel. If not, too bad. You stop shoveling.
Contained()->SetAction("Walk");