projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed wrong filename in worldmap.strf
[supertux.git]
/
data
/
scripts
/
console.nut
diff --git
a/data/scripts/console.nut
b/data/scripts/console.nut
index
5da3775
..
cdb190e
100644
(file)
--- a/
data/scripts/console.nut
+++ b/
data/scripts/console.nut
@@
-14,6
+14,15
@@
function finish()
Level.finish(true);
}
+function worldmapfinish()
+{
+ save_state();
+ foreach(levelname, level in state.worlds[state.world].levels) {
+ level.solved = true;
+ }
+ update_worldmap();
+}
+
function grow()
{
sector.Tux.add_bonus("grow");