diff --git a/lua/lithium/extensions/client/render.lua b/lua/lithium/extensions/client/render.lua index 8850d51..3955b07 100644 --- a/lua/lithium/extensions/client/render.lua +++ b/lua/lithium/extensions/client/render.lua @@ -31,9 +31,9 @@ function cam.Start3D(pos, ang, fov, x, y, w, h, znear, zfar) tab.fov = fov if isnumber(x) and isnumber(y) and isnumber(w) and isnumber(h) then - tab.x, tab.y, tab.w, tab.hm, tab.aspect = x, y, w, h, (w / h) + tab.x, tab.y, tab.w, tab.h, tab.aspect = x, y, w, h, (w / h) else - tab.x, tab.y, tab.w, tab.hm, tab.aspect = nil, nil, nil, nil, nil + tab.x, tab.y, tab.w, tab.h, tab.aspect = nil, nil, nil, nil, nil end if isnumber(znear) and isnumber(zfar) then @@ -70,4 +70,4 @@ function render.Model(tbl, ent) ENTITY_SetPos(ent, tbl.pos or vector_origin) ENTITY_SetAngles(ent, tbl.angle or angle_zero) ENTITY_DrawModel(ent) -end \ No newline at end of file +end