From 06e93f8d9508a23e86751dfae2f6a7e550d8e1af Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 24 Mar 2012 11:10:28 +0200 Subject: Add sound.dig --- src/scriptapi.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/scriptapi.cpp') diff --git a/src/scriptapi.cpp b/src/scriptapi.cpp index fce760eb8..5ce5f3b29 100644 --- a/src/scriptapi.cpp +++ b/src/scriptapi.cpp @@ -1062,6 +1062,9 @@ static ContentFeatures read_content_features(lua_State *L, int index) lua_getfield(L, -1, "footstep"); read_soundspec(L, -1, f.sound_footstep); lua_pop(L, 1); + lua_getfield(L, -1, "dig"); + read_soundspec(L, -1, f.sound_dig); + lua_pop(L, 1); lua_getfield(L, -1, "dug"); read_soundspec(L, -1, f.sound_dug); lua_pop(L, 1); -- cgit v1.2.3