mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
Fixes Get-Current-Logs (#51376)
This commit is contained in:
@@ -11,10 +11,10 @@
|
||||
set desc = "View/retrieve logfiles for the current round."
|
||||
set category = "Admin"
|
||||
|
||||
browseserverlogs("[GLOB.log_directory]/")
|
||||
browseserverlogs(current=TRUE)
|
||||
|
||||
/client/proc/browseserverlogs(path = "data/logs/")
|
||||
path = browse_files(path)
|
||||
/client/proc/browseserverlogs(current=FALSE)
|
||||
var/path = browse_files(current ? BROWSE_ROOT_CURRENT_LOGS : BROWSE_ROOT_ALL_LOGS)
|
||||
if(!path)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user