Skip to content

Commit

Permalink
walter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fira committed Jun 4, 2023
1 parent 18198ff commit 5e52835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/_byond_version_compat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
/// fcopy will crash on 515 linux if given a non-existant file, instead of returning 0 like on 514 linux or 515 windows
/// var case matches documentation for fcopy.
/world/proc/__fcopy(Src, Dst)
if (!fexists(Src))
if (istext(Src) && !fexists(Src))
return 0
return fcopy(Src, Dst)

Expand Down

0 comments on commit 5e52835

Please sign in to comment.