| 2817 | |
| 2818 | |
| 2819 | int LuaCallOuts::GetShotReloadTime(lua_State* L) { |
| 2820 | const ShotPath* shot = ParseShot(L, 1); |
| 2821 | if (shot == NULL) { |
| 2822 | return luaL_pushnil(L); |
| 2823 | } |
| 2824 | lua_pushfloat(L, shot->getReloadTime()); |
| 2825 | return 1; |
| 2826 | } |
| 2827 | |
| 2828 | |
| 2829 | int LuaCallOuts::RemoveShot(lua_State* L) { |
nothing calls this directly
no test coverage detected