diff --git a/shared/make/cameras.lua b/shared/make/cameras.lua index 0f39705..8a942c8 100644 --- a/shared/make/cameras.lua +++ b/shared/make/cameras.lua @@ -19,7 +19,7 @@ local camCache = {} -- ``` function createTempCam(ent, coords) local camID = nil - if Config.Crafting?.craftCam or Config.System.enableCam then + if (Config.Crafting and Config.Crafting.craftCam) or Config.System.enableCam then -- if not ent or coords are provided, make a basic camera to control later if not ent and not coords then