home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Server: Force control for proper map length before world generation.
[plomrogue]
/
server
/
utils.py
diff --git
a/server/utils.py
b/server/utils.py
index 22e2454d0f40a46f0384c7852ce2f88ab7475111..db33eba88ebe79c368f72baf6a38e32c00c63c2f 100644
(file)
--- a/
server/utils.py
+++ b/
server/utils.py
@@
-95,6
+95,8
@@
def parse_command_line_arguments():
action='store')
parser.add_argument('-l', nargs="?", const="save", dest='savefile',
action="store")
action='store')
parser.add_argument('-l', nargs="?", const="save", dest='savefile',
action="store")
+ parser.add_argument('-w', type=str, default="confserver/world",
+ dest='worldconf', action='store')
parser.add_argument('-v', dest='verbose', action='store_true')
opts, unknown = parser.parse_known_args()
return opts
parser.add_argument('-v', dest='verbose', action='store_true')
opts, unknown = parser.parse_known_args()
return opts