Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FB_reviewed_dbg_command #358

Open
wants to merge 1 commit into
base: extra-dev-options
Choose a base branch
from

Conversation

FIr3baL
Copy link
Collaborator

@FIr3baL FIr3baL commented Apr 15, 2023

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