mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
Adds an adminverb to write map files.
Map files are stored in data/logs/saved_maps, as such they can be retried with .getserverlog. Note: map files exported still need a LOT of cleaning afterwards (literally every turf has redundant variables that might even break things written to them).
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
for(var/file in args)
|
||||
src << browse_rsc(file)
|
||||
|
||||
/client/proc/browse_files(root="data/logs/", max_iterations=10, list/valid_extensions=list(".txt",".log",".htm", ".csv"))
|
||||
/client/proc/browse_files(root="data/logs/", max_iterations=10, list/valid_extensions=list(".txt",".log",".htm", ".csv", ".dmm"))
|
||||
var/path = root
|
||||
|
||||
for(var/i=0, i<max_iterations, i++)
|
||||
@@ -106,4 +106,4 @@
|
||||
return 1
|
||||
fileaccess_timer = world.time + FTPDELAY
|
||||
return 0
|
||||
#undef FTPDELAY
|
||||
#undef FTPDELAY
|
||||
|
||||
Reference in New Issue
Block a user