mirror of
https://github.com/Kapendev/parin.git
synced 2025-04-26 13:09:56 +03:00
Oops.
This commit is contained in:
parent
386bcc217e
commit
bb8b816a3b
1 changed files with 0 additions and 2 deletions
|
@ -450,7 +450,6 @@ struct TileMap {
|
|||
if (path.length != 0) {
|
||||
parse(loadTempText(path));
|
||||
}
|
||||
if (isEmpty) printfln("Error: The file `{}` does not exist.", path);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -546,7 +545,6 @@ List!char loadText(const(char)[] path) {
|
|||
/// Can handle both forward slashes and backslashes in file paths, ensuring compatibility across operating systems.
|
||||
const(char)[] loadTempText(const(char)[] path) {
|
||||
loadText(path, engineState.tempText);
|
||||
if (engineState.tempText.length == 0) printfln("Error: The file `{}` does not exist.", path);
|
||||
return engineState.tempText.items;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue