Skip to content

Commit

Permalink
feature(cine-tools): fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
IllustrisJack committed Nov 7, 2021
1 parent 6454ef6 commit 6258e33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/Client/Modules/CinematicTools.lua
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function CinematicTools:GenericCallback(p_Path, p_Value, p_Net)
-- if a TextureAsset - changes have to be made in the datacontainer directly. states don´t seem to support texture changes.
-- Check if boolean etc. else :Is() will fail
-- TODO: Automatically Detect Path for Loaded Texture
if type(p_Value) ~= "number" or type(p_Value) ~= "boolean" then
if type(p_Value) == "userdata" then
if p_Value.typeInfo and p_Value.typeInfo.name == 'TextureAsset' then
m_Logger:Write('TextureAsset found')

Expand Down

0 comments on commit 6258e33

Please sign in to comment.