Skip to content

Commit

Permalink
Merge branch 'master' into upstream-mirror-25269
Browse files Browse the repository at this point in the history
  • Loading branch information
ReezeBL authored Dec 4, 2023
2 parents 0fae827 + ffa3a63 commit 8c9e6d0
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions code/__byond_version_compat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,3 @@

/// Call by name proc reference, checks if the proc is an existing global proc
#define GLOBAL_PROC_REF(X) (/proc/##X)

/// 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 (istext(Src) && !fexists(Src))
return 0
return fcopy(Src, Dst)

#define fcopy(Src, Dst) world.__fcopy(Src, Dst)

0 comments on commit 8c9e6d0

Please sign in to comment.