Fixes RUST-G loading on linux

This commit is contained in:
AffectedArc07
2020-02-01 16:59:25 +00:00
parent 8c93947ddd
commit 360fd0623a
+1 -1
View File
@@ -1,5 +1,5 @@
//location of the rust-g library
#define RUST_G "rust_g"
#define RUST_G (world.system_type == UNIX ? "./librust_g.so" : "./rust_g.dll")
// On Linux/Unix systems the line endings are LF, on windows it's CRLF, admins that don't use notepad++
// will get logs that are one big line if the system is Linux and they are using notepad. This solves it by adding CR to every line ending