diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-03-21 00:13:55 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-03-21 00:13:55 +0000 |
| commit | 65e074db916ac1cc9a40f0040b055643f9b9a2dc (patch) | |
| tree | 858ed9757159a986497d3b73f5344e782318fb11 /src/game/editor/ed_io.cpp | |
| parent | c984efd3a9be662b0bae687cb637558dfe1b50d7 (diff) | |
| download | zcatch-65e074db916ac1cc9a40f0040b055643f9b9a2dc.tar.gz zcatch-65e074db916ac1cc9a40f0040b055643f9b9a2dc.zip | |
fixed some more editor stuff
Diffstat (limited to 'src/game/editor/ed_io.cpp')
| -rw-r--r-- | src/game/editor/ed_io.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/game/editor/ed_io.cpp b/src/game/editor/ed_io.cpp index 76700781..8c4c1e92 100644 --- a/src/game/editor/ed_io.cpp +++ b/src/game/editor/ed_io.cpp @@ -333,6 +333,13 @@ int MAP::save(const char *filename) // finish the data file datafile_finish(df); dbg_msg("editor", "done"); + + // send rcon.. if we can + if(client_rcon_authed()) + { + client_rcon("sv_map_reload 1"); + } + return 1; } @@ -355,11 +362,9 @@ int MAP::load(const char *filename) if(!item) { // import old map - /* MAP old_mapstuff; editor.reset(); - editor_load_old(df, &old_mapstuff); - */ + editor_load_old(df, this); } else if(item->version == 1) { |