LuaGlobals: Make Screen vars read-only
authorWuzzy
Fri, 20 Mar 2020 05:50:38 +0100
changeset 2131 53aadd31ca69
parent 2130 92625b61c40e
child 2132 11d16b0dbe49
LuaGlobals: Make Screen vars read-only
LuaGlobals.wiki
--- a/LuaGlobals.wiki	Fri Mar 20 05:45:14 2020 +0100
+++ b/LuaGlobals.wiki	Fri Mar 20 05:50:38 2020 +0100
@@ -101,8 +101,8 @@
 || `HealthDecrease` || `5` || Amount of health decreased on each turn in Sudden Death ||
 || `Goals` || `""` || Use this to add additional text to the goal text popup shown at the beginning and when using the quit or pause keys. The text is added to the default text which usually explains the game modifiers and does not replace it. The text supports the same special characters as in `ShowMission` ||
 || `WorldEdge` || `weNone` || Type edges being used at the left and right sides of the terrain (see below). ||
-|| `ScreenWidth` || _N/A_ || Width of the Hedgewars window or screen ||
-|| `ScreenHeight` || _N/A_ || Height of the Hedgewars window or screen ||
+|| `ScreenWidth` || _N/A_ || Width of the Hedgewars window or screen (read-only) ||
+|| `ScreenHeight` || _N/A_ || Height of the Hedgewars window or screen (read-only) ||
 
 The proper way to disable Sudden Death is by setting both `WaterRise` and `HealthDecrease` to `0`.