mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-01 06:00:15 +02:00
Perhaps FileExists shouldn't erase file contents...
This commit is contained in:
@@ -230,7 +230,7 @@ bool Client::FileExists(std::string filename)
|
||||
bool exists = false;
|
||||
try
|
||||
{
|
||||
std::ofstream fileStream;
|
||||
std::ifstream fileStream;
|
||||
fileStream.open(string(filename).c_str(), ios::binary);
|
||||
if(fileStream.is_open())
|
||||
{
|
||||
|
Reference in New Issue
Block a user