Skip to content

Commit 576aa56

Browse files
authored
Fixed assert in the CsvSpawner (#98)
Signed-off-by: Patryk Antosz <[email protected]>
1 parent 61d1cf4 commit 576aa56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gems/CsvSpawner/Code/Source/CsvSpawner/CsvSpawnerUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ namespace CsvSpawner::CsvSpawnerUtils
157157
{
158158
AZStd::optional<AZ::Vector3> hitPosition = AZStd::nullopt;
159159

160-
AZ_Assert(sceneHandle == AzPhysics::InvalidSceneHandle, "Unable to get scene handle");
160+
AZ_Assert(sceneHandle != AzPhysics::InvalidSceneHandle, "Unable to get scene handle");
161161
if (sceneHandle == AzPhysics::InvalidSceneHandle)
162162
{
163163
return hitPosition;

0 commit comments

Comments
 (0)