Run on_item_use CSM callback even if item is not marked usable
authorsfan5 <sfan5@live.de>
Fri, 8 Nov 2019 23:41:33 +0000 (00:41 +0100)
committersfan5 <sfan5@live.de>
Mon, 11 Nov 2019 13:06:48 +0000 (14:06 +0100)
commit3f271564e08716cfeb4a966f4291524b0fac05d3
tree7676e11117488b2cb851becd74ac7989b8490d6c
parent682b9de8246ce2c620f1cc5e4212e6378c2301ae
Run on_item_use CSM callback even if item is not marked usable

Mods may want to to handle item interaction even if the item
is not marked usable (= server-side callback exists).
clientmods/preview/init.lua
src/client/game.cpp