mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
[MIRROR] Fixes needless DM_VERSION check in Poly code [MDB IGNORE] (#25300)
* Fixes needless DM_VERSION check in Poly code (#79951)
## About The Pull Request
This is useless now that #79134
(1d6533c525) is merged and we require 515
for everything now.
## Why It's Good For The Game
They forgot
## Changelog
No effect to players.
* Fixes needless DM_VERSION check in Poly code
---------
Co-authored-by: san7890 <the@san7890.com>
Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
This commit is contained in:
co-authored by
san7890
Bloop
parent
36a2d53106
commit
bd00aac72f
@@ -180,14 +180,7 @@
|
||||
file_data["longestsurvival"] = longest_survival
|
||||
file_data["longestdeathstreak"] = longest_deathstreak
|
||||
|
||||
var/formatted_data
|
||||
#if DM_VERSION >= 515
|
||||
formatted_data = json_encode(file_data, JSON_PRETTY_PRINT)
|
||||
#else
|
||||
formatted_data = json_encode(file_data)
|
||||
#endif
|
||||
|
||||
rustg_file_write(formatted_data, file_path)
|
||||
rustg_file_write(json_encode(file_data, JSON_PRETTY_PRINT), file_path)
|
||||
memory_saved = TRUE
|
||||
return TRUE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user