mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
fix level saveas
.getCount() != .count()
This commit is contained in:
parent
7b393b668b
commit
aea3879698
1 changed files with 1 additions and 1 deletions
|
|
@ -347,7 +347,7 @@ function replaceInFile(%fileName, %fromWord, %toWord)
|
||||||
{
|
{
|
||||||
if( %file.openForWrite(%fileName) )
|
if( %file.openForWrite(%fileName) )
|
||||||
{
|
{
|
||||||
for(%i=0; %i < %lineArray.getCount(); %i++)
|
for(%i=0; %i < %lineArray.count(); %i++)
|
||||||
{
|
{
|
||||||
%file.writeline(%lineArray.getKey(%i));
|
%file.writeline(%lineArray.getKey(%i));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue