Skip to content

Commit 4cd423d

Browse files
committed
Script_ModMe: Fix stupid bug in CompileLightmaps
1 parent 1b52b19 commit 4cd423d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/Scripts/Script_ModMe/source/console/World/World_CompileLightmaps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ bCString CMD_World_Sub::CompileLightmaps( bTObjArray< bCString > a_arrParams )
141141

142142
bCString AreaMessage;
143143

144-
if(a_arrParams.GetCount() >= 2 || a_arrParams.GetCount() <= 4)
144+
if(a_arrParams.GetCount() >= 2 && a_arrParams.GetCount() <= 4)
145145
{
146146
GEInt iMinPositionX, iMaxPositionX, iMinPositionZ, iMaxPositionZ;
147147

0 commit comments

Comments
 (0)