hedgewars/uWorld.pas
changeset 4883 7cddc9201a1d
parent 4850 434cd1284204
child 4901 d1e2d82d9ccc
--- a/hedgewars/uWorld.pas	Sat Jan 29 14:54:08 2011 -0500
+++ b/hedgewars/uWorld.pas	Sat Jan 29 21:16:09 2011 +0100
@@ -122,6 +122,9 @@
 // if special game flags/settings are changed, add them to the game mode notice window and then show it
 g:= ''; // no text/things to note yet
 
+// add custom goals from lua script if there are any
+if LuaGoals <> '' then g:= LuaGoals + '|';
+
 // check different game flags (goals/game modes first for now)
 g:= AddGoal(g, gfKing, gidKing); // king?