bug in container use script
Posted: Wed Sep 13, 2006 7:01 am
097\Distro\pkg\items\containers\container\use.src
You should add a return 1 after the first SendViewContainer() or it will be called twice if pc has cmdlevel != 0
Code: Select all
if ( mobile.cmdlevel )
SendSysMessage(mobile, "Command level is present - container is skipping locks, traps, etc.");
SendViewContainer(mobile, container);
elseif ( ContainerIsLocked(mobile, container) )
RunTraps(container, mobile);
return 0;
endif
SendViewContainer(mobile, container);