Skip to content

Commit 9f8007b

Browse files
committedJul 3, 2022
Revert "Revert "remove multiplayer restriction when getting codex entries""
This reverts commit 713c340.
1 parent 713c340 commit 9f8007b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*.bak
55
*.pk7
66
*.7z
7+
*.bat
78

89
# folders with big bulky things that shouldn't go on git like psd files
910
/artsrc/*

‎metadoom-dev/zscript/codex/metacodex_event.zsc

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ Class MetaCodex_Event : EventHandler
1313
}
1414
override void WorldThingDied(WorldEvent e)
1515
{
16-
if(e.Thing.target==null||!(e.Thing.target is "PlayerPawn"))
16+
if ( e.Thing.target==null || !(e.Thing.target is "PlayerPawn") )
1717
{
1818
return;
1919
}
20-
if(!multiplayer && Meta_ThingExists(e.Thing.GetClassName())&&Meta_ThingExists("MetaCodex_"..e.Thing.GetClassName()))
20+
if ( Meta_ThingExists(e.Thing.GetClassName()) && Meta_ThingExists("MetaCodex_"..e.Thing.GetClassName()) )
2121
{
2222
if(e.Thing.target.player!=null&&e.Thing.target.player==players[consoleplayer]&&!e.Thing.target.FindInventory("MetaCodex_"..e.Thing.GetClassName()))
2323
{

0 commit comments

Comments
 (0)