From d92149713ad293854d7cb67d019322b473d49f20 Mon Sep 17 00:00:00 2001 From: YVT Date: Wed, 24 Jul 2019 18:11:04 +0900 Subject: [PATCH] Add a missing call to `CheckError` --- Sources/ScriptBindings/IWeaponSkin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/ScriptBindings/IWeaponSkin.cpp b/Sources/ScriptBindings/IWeaponSkin.cpp index a19962d6..5c99d7e6 100644 --- a/Sources/ScriptBindings/IWeaponSkin.cpp +++ b/Sources/ScriptBindings/IWeaponSkin.cpp @@ -235,6 +235,7 @@ namespace spades{ r = eng->RegisterInterfaceMethod("IWeaponSkin2", "void SetSoundEnvironment(float, float, float)"); + manager->CheckError(r); r = eng->RegisterInterfaceMethod("IWeaponSkin2", "void set_SoundOrigin(Vector3)"); manager->CheckError(r);