We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf9081a commit 368e4faCopy full SHA for 368e4fa
edge_defs/scripts/lua/edge_hud.lua
@@ -16,14 +16,6 @@ local custom_stbar_darkest_color = vec3(0, 0, 0)
16
local custom_stbar_lightest_color = vec3(0, 0, 0)
17
local custom_stbar_average_hue = vec3(0, 0, 0)
18
19
-local lua_state_test = 0
20
-
21
-function LUA_STATE_CALL_TEST(info)
22
- if info ~= nil then
23
- lua_state_test = lua_state_test + 1
24
- end
25
-end
26
27
function doom_weapon_icon(slot, x, y, off_pic, on_pic)
28
if (player.has_weapon_slot(slot)) then
29
hud.draw_image(x, y, on_pic)
@@ -215,8 +207,6 @@ function doom_status_bar_common()
215
207
hud.draw_num2(90, 171, 3, player.health())
216
208
hud.draw_num2(221, 171, 3, player.total_armor())
217
209
218
- hud.draw_num2(50, 50, 3, lua_state_test)
219
220
210
if (hud.game_mode() == "dm") then
221
211
hud.draw_num2(138, 171, 2, player.frags())
222
212
else
edge_defs/scripts/things.ddf
@@ -1980,8 +1980,7 @@ DROPITEM=CLIP;
1980
RANGE_ATTACK=FORMER_HUMAN_PISTOL;
1981
1982
STATES(IDLE)=POSS:A:10:NORMAL:LOOKOUT,
1983
- POSS:B:10:NORMAL:LOOKOUT,
1984
- POSS:B:0:NORMAL:LUA_RUN_SCRIPT("LUA_STATE_CALL_TEST");
+ POSS:B:10:NORMAL:LOOKOUT;
1985
1986
STATES(CHASE)=POSS:A:4:NORMAL:CHASE,
1987
POSS:A:4:NORMAL:CHASE,
0 commit comments