Skip to content

Commit 368e4fa

Browse files
author
dashodanger
committed
Remove temp DDF/Lua testing function
1 parent cf9081a commit 368e4fa

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

edge_defs/scripts/lua/edge_hud.lua

-10
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@ local custom_stbar_darkest_color = vec3(0, 0, 0)
1616
local custom_stbar_lightest_color = vec3(0, 0, 0)
1717
local custom_stbar_average_hue = vec3(0, 0, 0)
1818

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-
2719
function doom_weapon_icon(slot, x, y, off_pic, on_pic)
2820
if (player.has_weapon_slot(slot)) then
2921
hud.draw_image(x, y, on_pic)
@@ -215,8 +207,6 @@ function doom_status_bar_common()
215207
hud.draw_num2(90, 171, 3, player.health())
216208
hud.draw_num2(221, 171, 3, player.total_armor())
217209

218-
hud.draw_num2(50, 50, 3, lua_state_test)
219-
220210
if (hud.game_mode() == "dm") then
221211
hud.draw_num2(138, 171, 2, player.frags())
222212
else

edge_defs/scripts/things.ddf

+1-2
Original file line numberDiff line numberDiff line change
@@ -1980,8 +1980,7 @@ DROPITEM=CLIP;
19801980
RANGE_ATTACK=FORMER_HUMAN_PISTOL;
19811981

19821982
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");
1983+
POSS:B:10:NORMAL:LOOKOUT;
19851984

19861985
STATES(CHASE)=POSS:A:4:NORMAL:CHASE,
19871986
POSS:A:4:NORMAL:CHASE,

0 commit comments

Comments
 (0)