Merge pull request #563 from Bloodknight/Minor_Module_Fixes

replace new with singleton to fix cannot re-declare object log file …
This commit is contained in:
Brian Roberts 2021-09-08 12:48:44 -05:00 committed by GitHub
commit ad5d0b6d1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

View file

@ -11,7 +11,7 @@ singleton Material(TerrainFX_@)
impactSoundId = "0";
};
new TerrainMaterial(@)
singleton TerrainMaterial(@)
{
internalName = "@";
diffuseMap = "";

View file

@ -34,7 +34,7 @@ singleton shaderData( AL_ShadowVisualizeShader )
pixVersion = 2.0;
};
new CustomMaterial( AL_ShadowVisualizeMaterial )
singleton CustomMaterial( AL_ShadowVisualizeMaterial )
{
shader = AL_ShadowVisualizeShader;
stateBlock = AL_DepthVisualizeState;