Skip to content

FB_reviewed_dbg_command#358

Open
FIr3baL wants to merge 1 commit into
extra-dev-optionsfrom
FB_reviewed_dbg_command
Open

FB_reviewed_dbg_command#358
FIr3baL wants to merge 1 commit into
extra-dev-optionsfrom
FB_reviewed_dbg_command

Conversation

@FIr3baL

@FIr3baL FIr3baL commented Apr 15, 2023

Copy link
Copy Markdown
Collaborator

dbg_command_capture.lua

  • little restructured (sections)
  • default = disabled
  • disable Configuration.captureServerCommands on startup
  • made global functions local (SetState, Disable)
  • changed order of functions in code listing (it´s a direct consequence of having local functions, they need to be defined before usage)
  • changed Spring.Echo to Spring.Log

dbg_command_replay.lua

  • deleted duplicate function widget:Initialize()
  • little restructured (sections)
  • default = disabled
  • disable Configuration.replayServerCommands on startup
  • made global functions local (SetState)
  • changed order of functions in code listing (it´s a direct consequence of having local functions, they need to be defined before usage)
  • changed Spring.Echo to Spring.Log
  • made global var cmds local

- little restructured (sections)
- default = disabled
- disable Configuration.captureServerCommands on startup
- made global functions local (SetState, Disable)
- changed order of functions in code listing (it´s a direct consequence of having local functions, they need to be defined before usage)
- changed Spring.Echo to Spring.Log

dbg_command_replay.lua
- deleted duplicate function widget:Initialize()
- little restructured (sections)
- default = disabled
- disable Configuration.replayServerCommands on startup
- made global functions local (SetState)
- changed order of functions in code listing (it´s a direct consequence of having local functions, they need to be defined before usage)
- changed Spring.Echo to Spring.Log
- made global var cmds local
@FIr3baL FIr3baL requested a review from gajop April 15, 2023 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant